OpenSSL

Certificates

Create Certificate signing request

openssl req -new -key ~/.ssh/id_rsa -out certificate.csr

Sign and output Certificate

openssl x509 -req -days 3650 -in certificate.csr -signkey ~/.ssh/id_rsa -out certificate.crt

Inspect the certificate

openssl x509 -in certificate.crt -noout -text