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 will not delete in cPanel / re-appears even if deleted manually as root

Discussion in 'Security' started by LenH, Dec 4, 2012.

  1. LenH

    LenH Registered

    Joined:
    Dec 3, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    Hoping someone can assist here.

    Created a SSL Private Key and Cert etc as normal. Then found it was not needed. When deleting the Private Key in cPanel (which SHOULD also remove the actual cert) it reports that it's done BUT when returning to the list of Key's it's still there.

    So went via SSH as root to /home/user/ssl and deleted the offending key files from both /certs and /private - however - cPanel STILL shows the certs and they re-appear on the file system?

    Have checked httpd.conf and there is NO ref to a secured vhost for the subdomain...

    What am I missing please?

    Many thanks in advance.

    LenH
     
  2. LenH

    LenH Registered

    Joined:
    Dec 3, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: SSL will not delete in cPanel / re-appears even if deleted manually as

    Ok further update on this.

    Very off behaviour going on here.

    So the offending cert is showing up under Private Keys. cPanel states below the table showing the keys:
    * Removing a key will remove the Certificate Signing Request (CSR) and Certificate (CRT) if it exists.

    Ok great!. So I click Remove - this takes me to the page asking for confirmation of the delete - happy days.

    So I delete it - it reports "The key for “xxxx" has been deleted. Fantastic.

    I look on the actual file system and YES - the files are ALL GONE from both /home/user/ssl/certs and /home/user/ssl/private

    Ok so this means they should be gone - right?

    WRONG - as soon as I go back the SSL Manager the key file re-appears in /home/user/ssl/private

    Ok so somewhere in cPanel it's holding this but I know not where?

    Any help please ???

    Muchos gracias...

    PS it's also not web browser cache related - 1st thing I checked....
     
  3. LenH

    LenH Registered

    Joined:
    Dec 3, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: SSL will not delete in cPanel / re-appears even if deleted manually as

    Oh - also tried deleting .cpanel using rm -rf in /home/user/ - nix - problem persists...
     
Loading...

Share This Page