You may want to add an extra layer of your security to your app. After installing Rocket.Chat following our Deploy with Docker & Docker Compose guide, here are the next steps to follow:
Install to manage SSL certificates from \
You’ll be asked to provide a valid email and the domain set.
Run the same command to renew your certificate. To remember the options you chose, run the following command:
Move the CA cert to /etc/ssl/private/client-cert-ca.crt
directory.
Add CA cert, turn on client SSL authentication and add location block.\
You can have your users perform most of these steps if you want. But the following are the steps needed to create a certificate to present as client authentication.
Answer all of the questions, making sure to include your email address and Common Name (CN). The CSR must be sent to the administrator (or to you if you are handling this on behalf of the user).
As the admin, take the CSR given to you or generated by you and sign the CSR and create a valid certificate:\
You’ll want to increment the serial number with each signing. Once the certificate expires, a new CSR doesn’t need to be recreated; the same one can be signed, which will create a new certificate tied to that public key.
The signed certificate (user.crt) can now be sent back to the user along with the CA cert(ca.crt).
To be able to use in browsers and mobile generate a pkcs #12 using the user cert and key along with the Ca:\