The SSL/TLS protocol is asymetrical, TLSSockets must know if they are to behave as a server or a client. If true the TLS socket will be instantiated as a server. Defaults to false.
<net.Server> An optional net.Server instance.
Whether to authenticate the remote peer by requesting a certificate. Clients always request a server certificate. Servers (isServer is true) may optionally set requestCert to true to request a client certificate.
Optional, see tls.createServer()
Optional, see tls.createServer()
Optional, see tls.createServer()
Optional, see tls.createServer()
<Buffer> An optional Buffer instance containing a TLS session.
<boolean> If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication
Optional TLS context object created with tls.createSecureContext(). If a secureContext is not provided, one will be created by calling tls.createSecureContext() with no options.
Optional, see tls.createServer()
Optional, see tls.createServer()
Optional, see tls.createServer()
The SSL/TLS protocol is asymetrical, TLSSockets must know if they are to behave as a server or a client.
The SSL/TLS protocol is asymetrical, TLSSockets must know if they are to behave as a server or a client. If true the TLS socket will be instantiated as a server. Defaults to false.
Optional, see tls.createServer()
Whether to authenticate the remote peer by requesting a certificate.
Whether to authenticate the remote peer by requesting a certificate. Clients always request a server certificate. Servers (isServer is true) may optionally set requestCert to true to request a client certificate.
<boolean> If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication
Optional TLS context object created with tls.createSecureContext().
Optional TLS context object created with tls.createSecureContext(). If a secureContext is not provided, one will be created by calling tls.createSecureContext() with no options.
<net.Server> An optional net.Server instance.
<Buffer> An optional Buffer instance containing a TLS session.
TLS Socket Options