I had only owncloud running (http and https with apache2) in my network, but now I want host another website. https was working without warning "Your connection is not secure"
So for this I have installed another server with nginx on which I want to set SSL with my STAR_mydomain_com.crt and _mydomain_com.key I was using on apache2.
server {
listen 443;
server_name cloud.mydomain.com;
error_log /var/log/nginx/cloud.access.log;
ssl on;
ssl_certificate /etc/nginx/ssl/STAR_mydomain_com.crt;
ssl_certificate_key /etc/nginx/ssl/_mydomain_com.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # dont use SSLv3 ref: POODLE
location / {
proxy_pass http://192.168.1.10/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forward-Proto http;
proxy_set_header X-Nginx-Proxy true;
proxy_redirect off;
}}
But now I get the message : "Your connection is not secure"
I don't understand why
Any explanation why?