Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23
  1. #1
    sv1
    sv1 is offline
    Member
    Join Date
    Aug 2003
    Posts
    140

    Default Cannot view https on installed cert

    We have created a domain on it's own IP and when whm installs the cert it says everything is ok but when trying to access the site via https it does not work. Any help with this would be great.

  2. #2
    Member tuxdesk's Avatar
    Join Date
    Oct 2005
    Posts
    86

    Default

    check logs tail -f /var/log/messages also check the port 443 is opened to that domain.
    Tux
    Aim : tuxdesk
    Msn : tuxdesk@hotmail.com
    Yahoo: tuxdesk@yahoo.com

    __________________________________________________
    "You don't slow down because you get old; you get old because you slow down."

  3. #3
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    I just responded to your other thread about this

    http://forums.cpanel.net/showthread.php?t=48388

    "IE complaints about incorrect CA bundles in particular, I've found Firefox doesn't really care and the site will continue to work for SSL.

    I suggest getting the correct CA bundle to ensure it works in both browsers"
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  4. #4
    sv1
    sv1 is offline
    Member
    Join Date
    Aug 2003
    Posts
    140

    Default

    ramprage that isn't my thread

    Here's the log when trying to connect through SSL and the domain:

    Jan 7 12:59:07 pluto stunnel[2637]: SSL_read (SSL_ERROR_SYSCALL): Connection reset by peer (104)
    Jan 7 12:59:07 pluto stunnel[2637]: Connection reset: 5736 bytes sent to SSL, 2768 bytes sent to socket
    Jan 7 12:59:07 pluto stunnel[2637]: SSL_read (SSL_ERROR_SYSCALL): Connection reset by peer (104)
    Jan 7 12:59:07 pluto stunnel[2637]: Connection reset: 7362 bytes sent to SSL, 2776 bytes sent to socket
    Jan 7 12:59:07 pluto stunnel[2637]: SSL_read (SSL_ERROR_SYSCALL): Connection reset by peer (104)
    Jan 7 12:59:07 pluto stunnel[2637]: Connection reset: 316 bytes sent to SSL, 382 bytes sent to socket

  5. #5
    sv1
    sv1 is offline
    Member
    Join Date
    Aug 2003
    Posts
    140

    Default

    Fixed it, 443 was not opened in APF, stupid oversight! Thanks for the help.

  6. #6
    Secret Agent
    Guest

    Default

    I'm having this problem. I reinstalled the SSL successfully but it still shows page not found when testing it. Without https it works fine (domain that is).

    443 is open in APF also.

    <VirtualHost xxx.202.68.167>
    ServerAlias www.ssldomain.com ssldomain.com
    ServerAdmin webmaster@ssldomain.com
    DocumentRoot /home/offshore/public_html
    User offshore
    Group offshore
    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/offshore/:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_value open_basedir "/home/offshore/:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    <IfModule mod_userdir.c>
    UserDir disabled
    UserDir enabled offshore
    </IfModule>
    ServerName www.ssldomain.com
    CustomLog domlogs/ssldomain.com combined
    ScriptAlias /cgi-bin/ /home/offshore/public_html/cgi-bin/
    </VirtualHost>

    <IfDefine SSL>
    <VirtualHost xxx.202.68.167:443>
    ServerAdmin webmaster@ssldomain.com
    DocumentRoot /home/offshore/public_html
    ServerName ssldomain.com
    UserDir public_html

    <IfModule mod_userdir.c>
    Userdir disabled
    Userdir enabled offshore
    </IfModule>

    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/offshore:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_value open_basedir "/home/offshore:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>

    User offshore
    Group offshore
    ScriptAlias /cgi-bin/ /home/offshore/public_html/cgi-bin/

    SSLEnable
    SSLCertificateFile /usr/share/ssl/certs/ssldomain.com.crt
    SSLCertificateKeyFile /usr/share/ssl/private/ssldomain.com.key
    SSLCACertificateFile /usr/share/ssl/certs/ssldomain.com.cabundle
    SSLLogFile /usr/local/apache/domlogs/ssldomain.com-ssl_data_log
    CustomLog /usr/local/apache/domlogs/ssldomain.com-ssl_log combined
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    </VirtualHost>
    </IfDefine>

    What could it be?

  7. #7
    Member
    Join Date
    Nov 2005
    Posts
    97

    Default

    If you have NMAP installed (if you don't, it can be added via RPM) run this command:

    nmap -sT -O localhost

    The above command will show you what ports are open. check to see if 443 is listed. If not, you need to add SslEngine On in your httpd.conf. It should go in your Virual Host directive.


    EDIT: i say this because I don't it in your above post.

  8. #8
    Secret Agent
    Guest

    Default

    root@server2 [/var/cpanel/users]# nmap -sT -O localhostl

    Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2006-01-25 06:00 CST
    Insufficient responses for TCP sequencing (3), OS detection may be less accurate
    Interesting ports on localhost (127.0.0.1):
    (The 1643 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    21/tcp open ftp
    25/tcp open smtp
    53/tcp open domain
    80/tcp open http
    110/tcp open pop3
    143/tcp open imap
    443/tcp open https
    465/tcp open smtps
    631/tcp open ipp
    783/tcp open hp-alarm-mgr
    953/tcp open rndc
    993/tcp open imaps
    995/tcp open pop3s
    3306/tcp open mysql
    6666/tcp open irc-serv
    8009/tcp open ajp13
    8080/tcp open http-proxy
    Device type: general purpose
    Running: Linux 2.4.X
    OS details: Linux 2.4.23-grsec w/o timestamps, Linux 2.4.7 (x86)

    Nmap run completed -- 1 IP address (1 host up) scanned in 6.813 seconds

  9. #9
    Member tuxdesk's Avatar
    Join Date
    Oct 2005
    Posts
    86

    Default

    run this /usr/local/cpanel/startstunnel
    Last edited by tuxdesk; 01-25-2006 at 07:11 AM.
    Tux
    Aim : tuxdesk
    Msn : tuxdesk@hotmail.com
    Yahoo: tuxdesk@yahoo.com

    __________________________________________________
    "You don't slow down because you get old; you get old because you slow down."

  10. #10
    Secret Agent
    Guest

    Default

    That didn't correct it either

  11. #11
    Member
    Join Date
    Nov 2005
    Posts
    97

    Default

    Ok, regarding your first post, is that VirtualHost container where your'e trying to defin the SSL? I see the Virtual host container end (/VirualHost) before you've specified the cert, key, ca bundle paths. If you're defining a dedi cert, the SslEngine On and certs paths should be within the >VirtualHost< container.

    If it was working before, I would go into WHM and 'LOOK ONLY' through the rollback config for httpd. Go back a month or so and see how your VirtualHosts directive was previously laid out. I might be wrong, but I think the problem is not what is included in your httpd.conf but how it's laid out there.

  12. #12
    Secret Agent
    Guest

    Default

    Where do you see sslengine on?

    Also, I simpy reinstalled the SSL's via WHM. They insert the virtual host ssl info automatically

  13. #13
    Member
    Join Date
    Nov 2005
    Posts
    97

    Default

    Where do you see sslengine on?
    I don't see that commented in, that what I'm saying. The shared cert resides outside of the Virtual host container, while the dedi cert for the specific website is completely enclosed within the Virtual container. When the site needs to move to https:// state, it needs to know what/where SSL info to use (key,ca, ca bundle) specific to the domain. You don't have it within that directive. You don't need to delete anything, just try adding it in the container.

  14. #14
    Secret Agent
    Guest

    Default

    I'm only using dedicated ssl, not shared and I've always installed via whm without a problem (using rapidssl, comodo and geotrust)

  15. #15
    Secret Agent
    Guest

    Default

    How do I enable SSLEngine On? My other servers using SSL do not have this mentioned in httpd.conf and they work fine.

Similar Threads & Tags
Similar threads

  1. SSL Cert added but can't use https?
    By sifuhall in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-12-2007, 02:31 AM
  2. SSL cert installed; no https connection
    By mooi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-14-2005, 01:48 AM
  3. ssl cert, https, will not work.
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-09-2005, 03:17 AM
  4. HELP: Installed SSL Cert, but https:// "page not found"
    By jpfour23 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-20-2004, 12:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube