Basic openssl commands to generate a self-signed certificate

by joostd
macOS ◆ xterm-256color ◆ bash 378 views

Basic openssl

Some basic openssl commands to generate a self-signed certificate, for example to configure TLS on a web server.

It is shown how to subsequently generate a 2048-bit RSA key pair, a certificate signing request for the localhost server, and a self-signed certificate based on the request.