How do I create SSL certificates with OpenSSL on the command line?
Do you like HowtoForge? Please consider to support us by becoming a subscriber.
|
You do it like this: openssl genrsa -des3 -passout pass:yourpassword -out /path/to/your/key_file 1024 openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -out /path/to/your/csr_file -days 365 openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -in /path/to/your/csr_file -out /path/to/your/crt_file -days 365 openssl rsa -passin pass:yourpassword -in /path/to/your/key_file -out /path/to/your/key_file2 chmod 400 /path/to/your/key_file2
|
Sponsored Links: Request a Novell/Microsoft migration






Recent comments
13 hours 20 min ago
14 hours 5 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 19 hours ago