<div dir="ltr">Is this apache behind nginx or nginx behing apache?. <div><br></div><div>Whichever be the case - The rule is that the frontend (or the server terminating 443 ) need to have the cert configured as the web browsers need to talk to it with ssl .So in short if nginx is the frontend it must have the SSL eventhough apache(if the proxy backend) also has ssl on it.</div><div><br></div><div>All your individual vhost need individual ssl entries. If 2 vhost use the same cert all you have as an advantage is you can use the same filenames . </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 2, 2016 at 3:27 PM, Thierry <span dir="ltr"><<a href="mailto:lenaigst@maelenn.org" target="_blank">lenaigst@maelenn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bonjour,<br>
<br>
I have made some modification on my nginx reverse proxy<br>
server.<br>
<br>
I have add these lines:<br>
<br>
listen 445;<br>
server_name *.<a href="http://domain.org" rel="noreferrer" target="_blank">domain.org</a>;<br>
ssl on;<br>
ssl_certificate /etc/ssl/certs/file.crt; (same as apache)<br>
ssl_certificate_key /etc/ssl/private/file.key; (same as<br>
apache)<br>
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br>
<br>
I have access to my web server from outside, but I do not understand how<br>
the ssl certificate is managed.<br>
<br>
Why do I need to add on nginx those certificates ? This is<br>
already handled by my apache server through his vhosts.<br>
<br>
How to deal when I have three vhosts, 2 have the same ssl<br>
certificate but the third one his using a different one.<br>
<br>
Thx<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Cordialement,<br>
Thierry e-mail : <a href="mailto:lenaigst@maelenn.org">lenaigst@maelenn.org</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Anoop P Alias</b> <div><br></div></div></div></div>
</div>