Thursday, March 31, 2011

OpenSSL commands

Some useful commands for use with OpenSSL.

View a certificate:
openssl x509 -noout -text -in certificate.crt 

View a request:
openssl req -noout -text -in request.csr


Generate a self signed cert:
openssl req -new -x509 -days 365 -nodes -out 
/etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem

No comments:

Post a Comment