<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">itpp2012 provided you with the answer, also to be found in the <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name">server_name</a> directive documentation.<br></div><div class="gmail_extra"><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Mon, May 11, 2015 at 3:54 PM, braindeaf <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry to be vague.<br>
<br>
<a href="http://example.co" target="_blank">http://example.co</a> - works fine and as expected.<br>
<a href="http://blah.example.co" target="_blank">http://blah.example.co</a> - returns curl: (60) SSL certificate problem: Invalid<br>
certificate chain<br>
<br>
This is actually picking up the SSL cert for the default site on the server.<br>
So the server_name is picking up <a href="http://example.co" target="_blank">example.co</a> but *.<a href="http://example.co" target="_blank">example.co</a> seems to be<br>
ignored.<br>
<br>
Interesting, the wildcard SSL Key is the most basic RapidSSL Wildcard<br>
Certificate, so perhaps going down theĀ  Subject Alternate Name route might<br>
be worthwhile or worth talking to RapidSSL Support about because we also<br>
need *.<a href="http://staging.example.co" target="_blank">staging.example.co</a> to work for our staging environment too which<br>
might kill two birds with one stone.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,258792,258797#msg-258797" target="_blank">http://forum.nginx.org/read.php?2,258792,258797#msg-258797</a><br>
<div class="HOEnZb"><div class="h5"><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" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div></div>