The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Path for SSL certificate?

Discussion in 'Security' started by Telematica_at, May 31, 2016.

Tags:
  1. Telematica_at

    Telematica_at Member

    Joined:
    Oct 6, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    Hello,

    I got some problem with SSL and non-SSL Domains with shared IP adress like descripted here:

    SSL FAQ and Troubleshooting - Documentation - cPanel Documentation

    I have done the steps descripted in the article but i am not sure if I have done everything right and I am not sure which path to you mean for SSL there:

    • SSLCERTIFICATEFILE represents the full file path to your SSL certificate.
    • SSLCERTIFICATEKEYFILE represents the full file path to your SSL certificate's key.

    Do you mean the root server certificate? And if yes, what is the path to it?

    currently we used this configuration:

    Code:
    <VirtualHost 78.12.12.12:443>
      ServerName s11.example.at
      DocumentRoot /usr/local/apache/htdocs
      ServerAdmin support@example.at
      <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
      </IfModule>
        SSLEngine on
        SSLCertificateFile /etc/ssl/certs/s11.example.at.crt
        SSLCertificateKeyFile /etc/ssl/private/s11.example.at.key
    </VirtualHost>
    But if I want to open now a site on my server with no SSL certificate with the url "https://www.xxx.yy" i got a certificate warning. I press then to ignore it and get redirected to "https://www.xxx.yy/cgi-sys/defaultwebpage.cgi" and not to the site without SSL "http://www.xxx.yy".

    How can I fix this problem?
     
    #1 Telematica_at, May 31, 2016
    Last edited: May 31, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Here's the relevant snippet from the document you referenced:

    The easiest method to address this issue is to install a self-signed certificate on each domain name assigned to that shared IP address, or to move those domain names to an IP address with no SSL certificates installed.

    Thank you.
     
Loading...

Share This Page