Thursday, September 25, 2008

OpenSSL commands

Some useful openssl commands.

Check certificate details:



openssl  verify -verbose -issuer_checks server.crt



Generate new sertificate:



openssl req -new -x509 -days 365 -key server.key  -out server.crt



Check the modulus of an SSL certificate and key:



openssl rsa -noout -modulus -in server.key | openssl md5

openssl x509 -noout -modulus -in server.crt | openssl md5

No comments:

Post a Comment