| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Protocols
Protocols.LDAP
Protocols.LDAP.client

# Method Protocols.LDAP.client()->start_tls()

Method start_tls

  `int start_tls(void|SSL.context context)`

Description

  Requests that a SSL/TLS session be negotiated on the connection. If the connection is already secure, this call will fail.

Parameter `context`

  an optional SSL.context object to provide to the SSL/TLS connection client.

  Returns `1` on success, `0` otherwise.