HTTPS Howto?

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
graymattr
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 29 Apr 2013, 02:46

Re: HTTPS Howto?

Postby graymattr » 03 May 2013, 20:35


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: HTTPS Howto?

Postby gbcox » 03 May 2013, 22:03

Do you have your ownership and access privs set properly? I believe I posted a link to a howto for Fedora. I would recommend you look it up and use the suggested defaults. You are pointing to /home/user/ typically for apache/nginx most often stuff resides at /var/www/html/ and the owner is apache:apache - in addition all my files in that directory are set to 777 (which probably shouldn't be the case btw...)

graymattr
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 29 Apr 2013, 02:46

Re: HTTPS Howto?

Postby graymattr » 03 May 2013, 22:28

For security purposes, I try to keep all the web files in a user directory, rather than in /var/. Point taken on the permissions; I'll take a look. I previously didn't look into this because it all works unless I am on port 443, which is the odd part.

Thanks.

graymattr
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 29 Apr 2013, 02:46

Re: HTTPS Howto?

Postby graymattr » 04 May 2013, 01:53

I got it fixed (!!!). It turns out that an incomplete configuration of SPDY was to blame (Doh!). I had neglected to make the switch from mod_php5 to fcgid_module, which was causing the errors. Once I did this, all is working as expected. Sorry for all of the noise, hopefully this saves the next guy/gal from the same mistake. Here's the page that has the walkthrough for fixing this:

https://developers.google.com/speed/spdy/mod_spdy/php

Thanks to all of the helpful folks who jumped in to try to help out, I appreciate it! Cheers!

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: HTTPS Howto?

Postby sleeper_service » 04 May 2013, 03:51


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: HTTPS Howto?

Postby gbcox » 04 May 2013, 04:11

SPDY will be enabled by default on Nginx 1.4.0 when it arrives in Fedora 19 - scheduled for July.

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: HTTPS Howto?

Postby sleeper_service » 04 May 2013, 04:28


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: HTTPS Howto?

Postby gbcox » 04 May 2013, 04:53


graymattr
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 29 Apr 2013, 02:46

Re: HTTPS Howto?

Postby graymattr » 04 May 2013, 05:05


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: HTTPS Howto?

Postby gbcox » 04 May 2013, 05:37

Don't know which browser you're using, but Firefox and Chrome both have a plugin which shows a green lightning bolt when SPDY is enabled. It's kinda cool for testing purposes...

For Firefox:
https://addons.mozilla.org/en-US/firefo ... indicator/
For Chrome:
http://www.devthought.com/2012/03/10/ch ... indicator/

gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: HTTPS Howto?

Postby gbcox » 04 May 2013, 05:45

Oh, if you're running nginx header compression is off by default...

You'll want these two parameters in your config:
listen 443 ssl spdy; # turn spdy on
spdy_headers_comp 7; # compress your headers

Here is the nginx reference page:
http://nginx.org/en/docs/http/ngx_http_spdy_module.html

If you're running apache, it's probably similar... but since I'm not running it, can't comment on that...
Have fun...

graymattr
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 29 Apr 2013, 02:46

Re: HTTPS Howto?

Postby graymattr » 04 May 2013, 09:54

Plugin installed, thanks!

xtaz
Bear Rating Master
Bear Rating Master
Posts: 174
Joined: 24 Dec 2009, 16:48

Re: HTTPS Howto?

Postby xtaz » 04 May 2013, 12:44


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: HTTPS Howto?

Postby fox » 04 May 2013, 12:46

This is a well documented thing, discussed on this very forum recently.

gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: HTTPS Howto?

Postby gbcox » 04 May 2013, 18:00



Return to “Support”

Who is online

Users browsing this forum: No registered users and 12 guests