Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 13, 2014 4:08 pm 
Offline
Senior Newbie

Joined: Sat Jan 28, 2012 1:31 pm
Posts: 7
Website: http://flyingdingo.com
Yahoo Messenger: pupmup_atl
AOL: rickr@me.com
Location: Atlanta
I followed the instructions here: https://library.linode.com/web-servers/ ... ertificate

When I submitted the CSR to RapidSSL, it told me to go back and get a 2048 request. I figured out how to do that and resubmitted the request and got my private cert (I chose sha-2).

Here is my ports.conf:

Code:
[color=#4080FF]# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

NameVirtualHost *:80
Listen 80

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    NameVirtualHost 198.74.54.233:443
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>[/color]


----------------
My virtual host file

Code:
[color=#4080FF]<VirtualHost *:80>
  # Admin email, Server Name (domain name), and any aliases
  ServerAdmin rick@flyingdingo.com
  ServerName  k9hq.org

  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.html index.php
  DocumentRoot /home/rick/public/k9hq.org/public

  # Log file locations
  LogLevel warn
  ErrorLog  /home/rick/public/k9hq.org/log/error.log
  CustomLog /home/rick/public/k9hq.org/log/access.log combined
</VirtualHost>

<VirtualHost 198.74.54.233:443>
     SSLEngine On
     SSLProtocol all
     SSLCertificateFile /etc/apache2/ssl/k9hq.org.crt
     SSLCertificateKeyFile /etc/apache2/ssl/k9hq.org.key
     SSLCACertificateFile /etc/apache2/ssl/intermediate.cer

     ServerAdmin hello@k9hq.org
     ServerName k9hq.org
     DocumentRoot /home/rick/public/k9hq.org/public
     ErrorLog  /home/rick/public/k9hq.org/log/error.log
     CustomLog /home/rick/public/k9hq.org/log/access.log combined
</VirtualHost>[/color]


Apache does not throw errors when I reload the service, yet I am unable to make a secure connection with a browser. Do you think I need to add something to Apache because of the 2048 cert or the SHA-2 hash? I am at a dead end.


Top
   
PostPosted: Thu Mar 13, 2014 4:35 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Working fine here. Perhaps you're using www.k9hq.org instead of k9hq.org? 2 different domains, and your SSL certificate is only valid for the non-www one.


Top
   
PostPosted: Thu Mar 13, 2014 4:42 pm 
Offline
Senior Newbie

Joined: Sat Jan 28, 2012 1:31 pm
Posts: 7
Website: http://flyingdingo.com
Yahoo Messenger: pupmup_atl
AOL: rickr@me.com
Location: Atlanta
That is so odd. I am entering https://k9hq.org in Safari, Chrome, and Firefox in incognito mode and without, and each time I get an SSL connection error. And it’s working for you? Even now?


Top
   
PostPosted: Thu Mar 13, 2014 4:46 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Yep - Image


Top
   
PostPosted: Thu Mar 13, 2014 11:03 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
https://www.ssllabs.com/ssltest/analyze ... Results=on

Gives good idea of what your SSL and config look like.

Using an SSL without www is a bit confusing for some. Normally if you get the www with the domain you can use both with the same cert. You can then redirect access from https://k9hq.org to https://www.k9hq.org for more straightforward analytics.

_________________
Kevin a.k.a. Dweeber


Top
   
PostPosted: Sat Mar 15, 2014 2:14 pm 
Offline
Junior Member
User avatar

Joined: Tue Dec 27, 2005 1:33 am
Posts: 43
Location: USA
I'm not getting any errors in Firefox 24 ESR. It would help if you posted the precise error message you're getting from your browsers.

Using 2048 bit RSA is fine, but SHA-2 is a little unusual and may pose a problem with really old browsers. But that's probably not the issue here, if it's not even working for you in Chrome.


Top
   
PostPosted: Sat Mar 15, 2014 2:43 pm 
Offline
Senior Newbie

Joined: Sat Jan 28, 2012 1:31 pm
Posts: 7
Website: http://flyingdingo.com
Yahoo Messenger: pupmup_atl
AOL: rickr@me.com
Location: Atlanta
Thanks, AGWA. I have isolated it to a problem with my home net through Comcast. I can take my laptop and phone to other networks, and everything works as expected. Now I’m trying to figure out what change Comcast has made to their network that is causing me this trouble.


Top
   
PostPosted: Tue Mar 25, 2014 9:11 pm 
Offline
Senior Newbie

Joined: Wed Jan 22, 2014 8:11 pm
Posts: 6
Website: http://eightyfiveconsulting.com
Location: Orange, CA
This just sounds like a DNS issue. Comcast has there own DNS that is used as default for all customers. You are essentially switching to a different DNS whenever you move to a new Wifi with your laptop, or access the site over your phone's network. Switching to Google's DNS or OpenDNS at home might also help avoid future issues like this. In my experience, a public DNS like Google's will always propagate changes across the web faster than an ISP's private one.

_________________
http://eightyfiveconsulting.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group