# Need a helping hand setting up ssl server on local box

**URL:** <https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793>\
**Category:** NGINX\
**Created:** [November 29, 2010, 12:46pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793 "2010-11-29T12:46:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 29, 2010, 12:46pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793/1 "2010-11-29T12:46:43Z")

</div>

Here is my setup (detailed): [gist:719862 · GitHub](https://gist.github.com/719862)

I can access the port 80 server but not port 443.

I get Error 102 (net::ERR\_CONNECTION\_REFUSED): Unknown error. in chrome.

Another strange issue is the log files for either the port 80 or 443  
server don’t appear where I told them to go in the config. (There are  
error and access logs in the homebrew nginx location but nothing of  
value in there.

Struggling right now to figure out what I’m doing wrong…

I’d appreciate any help…

Regards,

Saimon

---

<div class="post-metadata">

**Author:** ![saimon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@saimon](https://www.ruby-forum.com/u/saimon)\
**Post date:** [November 29, 2010, 1:26pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793/2 "2010-11-29T13:26:20Z")

</div>

Hello!

On Mon, Nov 29, 2010 at 12:45:50PM +0100, Saimon M. wrote:

> Struggling right now to figure out what I’m doing wrong…
> 
> I’d appreciate any help…

Try looking into global error log, it should be in  
/usr/local/Cellar/nginx/0.8.53/logs/error.log with your setup.

Maxim D.

---

<div class="post-metadata">

**Author:** ![saimon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@saimon](https://www.ruby-forum.com/u/saimon)\
**Post date:** [November 29, 2010, 2:21pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793/3 "2010-11-29T14:21:00Z")

</div>

Hi Maxim,

I did and there’s nothing (new) in there… ☹

On Mon, Nov 29, 2010 at 1:25 PM, Maxim D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > Another strange issue is the log files for either the port 80 or 443
> 
> Maxim D.
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

–  
Saimon M.  
Freelance Web D.  
(Available for hire - For details visit [http://saimonmoore.net](http://saimonmoore.net))

Skype: saimonmoore  
Yahoo IM: saimonmoore  
Google IM: saimonmoore

---

<div class="post-metadata">

**Author:** ![saimon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@saimon](https://www.ruby-forum.com/u/saimon)\
**Post date:** [November 29, 2010, 4:11pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793/4 "2010-11-29T16:11:03Z")

</div>

Can some please take a quick look at my nginx config to see if there’s  
anything obviously wrong I may be missing? I’ve been trying different  
variations of the same thing but I’m still not able to get ssl working  
on my local osx box.

On Mon, Nov 29, 2010 at 2:19 PM, Saimon M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > > 
> > 
> > [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)  
> > Yahoo IM: saimonmoore  
> > Google IM: saimonmoore

–  
Saimon M.  
Freelance Web D.  
(Available for hire - For details visit [http://saimonmoore.net](http://saimonmoore.net))

Skype: saimonmoore  
Yahoo IM: saimonmoore  
Google IM: saimonmoore

---

<div class="post-metadata">

**Author:** ![saimon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@saimon](https://www.ruby-forum.com/u/saimon)\
**Post date:** [November 29, 2010, 4:38pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793/5 "2010-11-29T16:38:45Z")

</div>

Hello!

On Mon, Nov 29, 2010 at 02:19:50PM +0100, Saimon M. wrote:

> Hi Maxim,
> 
> I did and there’s nothing (new) in there… ☹

So the most likely reason is that you forgot to reload nginx  
config. It should complain there why it wasn’t able to parse your  
config and/or open configured listening sockets. Even if you were  
smart enough to redirect stderr to something like /dev/null.

Another possible reason is that you have wrong binary running and  
it tries to read configs from another place.

Full restart should resolve both mentioned issues.

Maxim D.

p.s. Please do not top-post. Thank you.

---

<div class="post-metadata">

**Author:** ![saimon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@saimon](https://www.ruby-forum.com/u/saimon)\
**Post date:** [November 29, 2010, 11:01pm UTC](https://www.ruby-forum.com/t/need-a-helping-hand-setting-up-ssl-server-on-local-box/199793/6 "2010-11-29T23:01:45Z")

</div>

On Mon, Nov 29, 2010 at 4:37 PM, Maxim D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> config and/or open configured listening sockets. Even if you were  
> smart enough to redirect stderr to something like /dev/null.

As expected my bad. Sorry for the noise.  
You were on the right track. I had two configs setup in  
sites-available. The one I was interested in wasn’t symlinked in  
sites-enabled. duh.

Thanks again…

> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

–  
Saimon M.  
Freelance Web D.  
(Available for hire - For details visit [http://saimonmoore.net](http://saimonmoore.net))

Skype: saimonmoore  
Yahoo IM: saimonmoore  
Google IM: saimonmoore
