Prepare the ssl connection for an initial handshake - either as a server (`Accept)
or as a client (`Connect).
Read from the SSL application side.
Use a certificate file, signed by a CA (or self-signed if you prefer) to validate
you are who you say you are. The file will generally end in .crt.
The 'type' is the encoding of your certificate file. You should know this!
For servers, use a private key key for securing communications.
> openssl genrsa -out server.key 4096 # generates a key called server.key
The file will generally end in .key.
The 'type' is the encoding of your certificate file. You should know this!