1

I have the follow situation:

My Magento 2 installation has 4 stores and it is hosted in google cloud compute engine with the main domain as an IP address like 35.999.444.22. I have a SSL certificate for one of my stores domain. But it is not working. Do I have to get another SSL certificate for the main address: 35.999.444.22?

This is how I configure my nginx server replacing with my certificates. When I add this code I can't run nginx on docker anymore.

server {
listen 443;

ssl on;
ssl_certificate /etc/ssl/certs/ssl_bundle.crt;
ssl_certificate_key /etc/ssl/private/meusite.key;

ssl_protocols SSLv3 TLSv1;

ssl_ciphers ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM;

server_name meusite.com.br;
}
  • Please could you expand on "it's not working". – Goose84 Dec 26 '17 at 15:29
  • I configure my nginx server but I can't run my nginx container when I run docker-compose up -d. When I remove the ssl configuration it works normally. – Rafael Padovani Dec 26 '17 at 15:32
  • Following comodo tutorial I add this code to my server with certificates name: server { listen 443; ssl on; ssl_certificate /etc/ssl/certs/ssl_bundle.crt; ssl_certificate_key /etc/ssl/private/meusite.key; ssl_protocols SSLv3 TLSv1; ssl_ciphers ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM; server_name meusite.com.br; } – Rafael Padovani Dec 26 '17 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.