SSL

Виды сертификатов, конвертация и создание

$ openssl req -new -x509 -days 9999 -nodes -out cert.pem -keyout cert.key
$ echo "999" | openssl smime -sign -signer certificate.cer -inkey private.key  -nochain -nocerts -outform PEM -nodetach
$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 30