Voici les commandes OpenSSL dont je n'arrive jamais a me souvenir :
openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key
openssl req -out CSR.csr -key privateKey.key -new
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt
openssl x509 -in certificate.crt -text -noout
openssl s_client -showcerts -connect host.domain.com:9999 </dev/null
echo | openssl s_client -servername host.domain.com -connect host.domain.com:9999 2>/dev/null | openssl x509 -noout -issuer -subject -dates
openssl req -in mycsr.csr -noout -text