How to make cert.pem file?
eukway opened this issue · 2 comments
eukway commented
Hi,How to make cert.pem file?
sorz commented
You should apply or generate a SSL certificate, then,
concatenate the public key and private key into cert.pem
.
cat example.com.crt example.com.key > cert.pem
The final pem file should be like:
-----BEGIN CERTIFICATE-----
ABCDEFGHIJKLMNOPQRSTUVWXYZ...
ABCDEFGHIJKLMNOPQRSTUVWXYZ...
...
...
ABCDEFGHIJKLMNOPQRSTUVWXYZ...
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
ABCDEFGHIJKLMNOPQRSTUVWXYZ...
ABCDEFGHIJKLMNOPQRSTUVWXYZ...
...
...
ABCDEFGHIJKLMNOPQRSTUVWXYZ...
-----END RSA PRIVATE KEY-----
eukway commented
thanks a lot