To generate a self-signed certificate, run the following commands in your shell:
This should leave you with two files, cert.pem (the certificate) and key.pem (the private key). This is all you need for a SSL connection.
openssl genrsa -out key.pem openssl req -new -key key.pem -out csr.pem openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem rm csr.pem
This should leave you with two files, cert.pem (the certificate) and key.pem (the private key). This is all you need for a SSL connection.
This comment has been removed by the author.
ReplyDeleteMalowanie dachów
ReplyDeletevery good