Generate SSL certificate
1. Create the private keyopenssl genrsa 1024 > host.key
2. Create the certificate
openssl req -new -x509 -nodes -days 365 -key host.key > host.cert
3. Create .pem file
Some applications require the private key and certificate in a single
.pem file. then..
cat host.cert host.key > host.pem
0 Comments:
Post a Comment
<< Home