unix:ssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
unix:ssl [2021-08-16T20:22:15+0200]
Wolfgang
unix:ssl [2021-08-16T20:25:26+0200] (current)
Wolfgang
Line 42: Line 42:
 openssl pkcs12 -in $cert -nocerts -out $(basename "$cert" .pfx)-encrypted.key openssl pkcs12 -in $cert -nocerts -out $(basename "$cert" .pfx)-encrypted.key
 openssl rsa -in $(basename "$cert" .pfx)-encrypted.key -out $(basename "$cert" .pfx).key openssl rsa -in $(basename "$cert" .pfx)-encrypted.key -out $(basename "$cert" .pfx).key
 +</code>
 +
 +====== Cert enddate ======
 +
 +<code>
 +openssl s_client -connect www.example.com:443 < /dev/null 2>/dev/null | openssl x509 -noout -enddate
 </code> </code>
  • unix/ssl.txt
  • Last modified: 2021-08-16T20:25:26+0200
  • by Wolfgang