6/26/2006
OpenSSL Secure Certificate Tricks
Create RSA private key
openssl genrsa -des3 -out host.domain.com.key 1024
Generate CSR
openssl req -new -key host.domain.com.key -out host.domain.com.csr
Verify data in CSR
openssl req -noout -text -in host.domain.com.csr
Generate a self-signed certificate (for testing only)
openssl req -new -x509 -nodes -out host.domain.com.crt -keyout host.domain.com.key
Remove passphrase from a key
openssl rsa -in host.domain.com.key -out host.domain.com.pem
Popularity: 14%


