Useful Openssl Commands

Certificates

Create a self signed certificate with no password

This command will create a certificate and key with no password. This is useful for setting up SSL protected webservers for testing.
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout hostcert.key -out hostcert.crt

Check an x509 Certificate

openssl x509 -in certificate.crt -text -noout

-- MattVliet - 2010-12-20

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r1 - 2010-12-20 - mvliet
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback