LE certs on both nginx & Apache side by side install


#1

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.

Regards


#2

Hi,

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

Thank you


#3

Hi @Heetered

look there:

http://nginx.org/en/docs/http/configuring_https_servers.html

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.


#4

That should read:
listen 8443 ssl;


#5

Wow Thanks guys for the rally quick replies,

Regards


#6

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