# Page with ssl doesn't open from safari

**URL:** <https://www.ruby-forum.com/t/page-with-ssl-doesnt-open-from-safari/242329>\
**Category:** NGINX\
**Created:** [June 16, 2015, 9:36am UTC](https://www.ruby-forum.com/t/page-with-ssl-doesnt-open-from-safari/242329 "2015-06-16T09:36:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [June 16, 2015, 9:36am UTC](https://www.ruby-forum.com/t/page-with-ssl-doesnt-open-from-safari/242329/1 "2015-06-16T09:36:06Z")

</div>

Good afternoon

UCC ssl the certificate is bought from godaddy for 5 domain names.

One of the sites (settles down on the separate server) doesn’t open from  
safari “Safari can’t open the page [https://sendy](https://sendy) .mysite.com because the  
server unexpectedly dropped the connection. This sometimes occurs when  
the  
server is busy. Wait for a few minutes, and then TR again.” In too time  
it  
normally opens from all other browsers.

Debug log of nginx (nginx 1.8.0, ubuntu 14.04):

2015/06/15 09:48:27 [debug] 15611#0: \*6 SSL NPN advertised  
2015/06/15 09:48:27 [debug] 15611#0: \*6 SSL\_do\_handshake: -1  
2015/06/15 09:48:27 [debug] 15611#0: \*6 SSL\_get\_error: 2  
2015/06/15 09:48:27 [debug] 15611#0: \*6 reusable connection: 0  
2015/06/15 09:48:27 [debug] 15611#0: \*6 SSL handshake handler: 0  
2015/06/15 09:48:30 [debug] 29320#0: \*7 SSL\_do\_handshake: -1  
2015/06/15 09:48:30 [debug] 29320#0: \*7 SSL\_get\_error: 2  
2015/06/15 09:48:30 [debug] 29320#0: \*7 reusable connection: 0  
2015/06/15 09:48:31 [debug] 29320#0: \*7 SSL handshake handler: 0  
2015/06/15 09:48:33 [debug] 29322#0: \*8 SSL\_do\_handshake: -1  
2015/06/15 09:48:33 [debug] 29322#0: \*8 SSL\_get\_error: 2  
2015/06/15 09:48:33 [debug] 29322#0: \*8 reusable connection: 0  
2015/06/15 09:48:33 [debug] 29322#0: \*8 SSL handshake handler: 0

Config vhost:  
server {  
listen 80;  
server\_name [sendy.mysite.com](http://sendy.mysite.com);

location / {  
rewrite ^(.\*) [https://sendy.mysite.com$1](https://sendy.mysite.com$1) permanent;  
}  
}

server  
{  
listen 443;  
server\_name [sendy.mysite.com](http://sendy.mysite.com);

ssl on;  
ssl\_certificate /etc/nginx/ssl/www.mysite2.com.crt;  
ssl\_certificate\_key /etc/nginx/ssl/www.mysite2.com.key;

index index.php index.html;  
root /home/ubuntu/sendy;  
access\_log /var/log/nginx/sendy.access.log;  
error\_log /var/log/nginx/sendy.error.log debug;  
proxy\_buffers 8 32k;  
proxy\_buffer\_size 64k;  
fastcgi\_buffers 16 16k;  
fastcgi\_buffer\_size 32k;

location = / {  
index index.php; }

location / {  
if (!-f $request\_filename){  
rewrite ^/([a-zA-Z0-9-]+)$ /$1.php last;}  
}

location /l/ {  
rewrite ^/l/([a-zA-Z0-9/]+)$ /l.php?i=$1 last; }

location /t/ {  
rewrite ^/t/([a-zA-Z0-9/]+)$ /t.php?i=$1 last; }

location /w/ {  
rewrite ^/w/([a-zA-Z0-9/]+)$ /w.php?i=$1 last; }

location /unsubscribe/ {  
rewrite ^/unsubscribe/(.\*)$ /unsubscribe.php?i=$1 last; }

location /subscribe/ {  
rewrite ^/subscribe/(.\*)$ /subscribe.php?i=$1 last; }

location ~\* .(ico|css|js|gif|jpe?g|png)(?[0-9]+)?$ {  
expires max;  
log\_not\_found off; }

location ~ .php {  
fastcgi\_index index.php;  
include fastcgi\_params;  
keepalive\_timeout 0;  
fastcgi\_param SCRIPT\_FILENAME $document\_root$fastcgi\_script\_name;  
fastcgi\_pass unix:/var/run/php5-fpm.sock; }  
}

All other sites / domains are located on another server with the same  
certificate ucc, and they open in Safari without any problems

What is the cause of the problem?

Posted at Nginx Forum:

> **[Page with ssl doesn't open from safari](https://forum.nginx.org/read.php?2,259639,259639#msg-259639)**
>
> Good afternoon UCC ssl the certificate is bought from godaddy for 5 domain names. One of the sites (settles down on the separate server) doesn't open from safari "Safari can't open the page https://sendy .mysite.com because the server...
