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.

Ssl & sni

Discussion in 'General Discussion' started by anoop0509, Oct 7, 2014.

  1. anoop0509

    anoop0509 Member

    Feb 17, 2007
    Likes Received:
    Trophy Points:

    I have a server with one SSL certificate on the IP and then some other certs using SNI. Since the IP has a certificate so any non ssl website on the same IP when checked on https shows the default SSL certificate. Can we avoid this process, so that non ssl sites throw error instead of showing the certificate which is not shared.

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    If the account is assigned a shared IP address, and a SSL certificate is installed on that IP address, then any secure request to a domain name on that IP address will load the contents of the domain name the certificate is installed for. This is by design. You will need to assign a dedicated IP address to the account that uses the SSL certificate if you don't want that certificate applied to the other domain names on it's IP address. Or, you could generate/install a self-signed certificate for each domain name on the server (Assuming your server supports SNI). You could also make one alternate SSL certificate the primary certificate for an IP address via the "Make Primary" option in "WHM Home » SSL/TLS » Manage SSL Hosts".

    Thank you.

Share This Page