I have a bitnami instance running apache, for which I've generated a letsencrypt certificate using bncert tool. I would like to run a websocket server implemented with node.js on the same instance, but to create a SSL websocket instance I need to provide it 2 .pem files, one for certificate and 1 for key.
Can I re-use the certificate and key I've already generated for my domain, or do I need to generate a new certificate? If it can be reused, where to I find .pem files? If I need to generate a new one, how do I do it for a domain I've already generated certificate for?
Lots of thanks!
Hi @MallorLoU, and welcome to the LE community forum
Yes, the same certificate can be used by many programs.
The same place
Apache uses them from.
Your Apache VirtualHost config shows the path it used for those pem files
Or, visit the bncert docs
Thank you both for awesome and quick replies, I've resolved the issue nobody had an answer for on stackexchange for days
For those who might need this in future, on bitnami cert and key are stored in /opt/bitnami/apache/conf/
"domain-name".key and "domain-name".crt files.
Again, lots of thanks!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.