Secure socket configuration - Factor Documentation (original) (raw)

Secure socket configuration
Secure sockets (SSL, TLS)

Next: Secure socket contexts

Secure sockets require some configuration, particularly for server sockets. A class represents secure socket configuration parameters:
secure-config

Creating new instances:

( -- config )

Configuration parameters:
SSL/TLS methods
The key file and password
The CA file and path
Diffie-Hellman parameter file
Ephemeral RSA key bits