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.

Error installing SSL certificate

Discussion in 'Security' started by cds-au, Oct 16, 2015.

  1. cds-au

    cds-au Registered

    Joined:
    Oct 16, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Hello,

    I am trying to install an SSL cert through WHM. It's a fresh install, however I used the transfer tool to create the account I am trying to set up with SSL.

    I click Install an SSL Certificate on a Domain in WHM and enter the relevant information into the corresponding fields. I press Install and then I get taken to the top of the page and it shows this error:

    Code:
    AH00548: NameVirtualHost has no effect and will be removed in the next release /var/tmp/2942.WHOSTMGR_BIN_XML_API_PL__.9FZa1WrQTBGhyicl.tmp:316
    
    AH00526: Syntax error on line 1 of [Test Configuration File]:
    
    <VirtualHost> cannot occur within <VirtualHost> section
    I have tried the following (as mentioned in other similar threads):
    Code:
    /scripts/rebuildhttpdconf
    /scripts/rebuilddnsconfig
    
    These don't report any errors or anything out of the ordinary.

    I have also run
    and it says
    What can I do to fix this?

    WHM 11.52.0 (build 15) on CentOS 6.7 x64
     
  2. cds-au

    cds-au Registered

    Joined:
    Oct 16, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I terminated the account on the new server and manually restored the account. I guess there was a mis-configured configuration file in the remote server's homedir, as the SSL cert installed without any issues. Oh well - it seems to be fixed now.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page