LE certs on both nginx & Apache side by side install


Hi all,

Currently have a mature, properly operating Ubuntu16.04 LAMP server with LE.

I am in process of installing nginx alongside apache for another webserver setup.

How can I setup and use my current apache LE certs to function with the nginx webserver as well?

I do keep getting “ERR_SSL_PROTOCOL_ERROR” in chrome when trying to access the nginx webserver, I have dedicated port 8443 to nginx only. Ports 443 & 80 are dedicated to Apache.




Is port 8443 designated for ssl on Nginx? Or it’s just regular http?

Thank you


Hi @Heetered

look there:


Something like

server {
listen 443 ssl;
server_name www.example.com;
ssl_certificate path-to-your-apache-certificate/www.example.com.crt;
ssl_certificate_key path-to-your-apache-certificate/www.example.com.key;

should be your first test.


That should read:
listen 8443 ssl;


Wow Thanks guys for the rally quick replies,



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.