Location of SSL certificates

On my test system I installed a Lets Encrypt certificate using the SYSTEM–>SSL form. I’d like to go back to the private self signed rockstor certificate. I am unable to locate where the certificate and private key are stored on rockstor testing 5.0.13. If I could locate the files I can copy them from my production 5.0.13 system. Thanks

You should be able to find them under /opt/rockstor/certs.

1 Like

I did find files in the /opt/rockstor/certs but was not able to copy and paste them into the form allways getting error messages.

After some more investigation I was able to create my own private key.pem and certificate.pem using the following command:
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 3650 -out certificate.pem

Copying and pasting these files into the SSL form was successful and I’m back to a 10 year certificate!

3 Likes