Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    39

    Default deleting CSRs and RSA keys

    I needed to install a new SSL cert for a client. They have two CSRs and two RSA keys in their cpanel SSL manager. I hit "delete" on all of them - I want to remove all the expired stuff and start fresh, and they say they are deleted, but they never go away.

    How can I remove them?

    Also, via SSH, I can remove anything that has anything AFTER the .crt and .csr, right? Those are backups and old? For example:

    host.scarletsweb.com.crt
    host.scarletsweb.com.crt.1205527583
    host.scarletsweb.com.crt.old.1205527582
    host.scarletsweb.com.crt.old.1205528188
    host.scarletsweb.com.csr

    I assume I only need the first and last files, yes? What about the following - I removed the cert in WHM but it's still here - it's expired, so I want to remove - I can remove all the files, yes (should I also remove the cabundle files?).

    scarletsweb.com.crt
    www.scarletsweb.com.cabundle
    www.scarletsweb.com.crt
    www.scarletsweb.com.crt.old.1200946844
    www.scarletsweb.com.csr

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge Zishan's Avatar
    Join Date
    Aug 2005
    Posts
    104

    Default

    If you will be renewing the SSL certificate then you can remove all old cert files and even cabundle. Only private key should be kept if the new SSL is purchased on the basis of same csr.

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    1

    Default Re: deleting CSRs and RSA keys

    I have a similar question. I have the following crt.old files I cannot delete from WHM:

    hcgbyrevele.com.crt.old.1303442932
    hcgbyrevele.com.crt.old.1303840477
    hcgbyrevele.com.csr.old.1303840375

    When I attempt to delete them I get the following error:

    SSL Key/Crt Manager
    Delete SSL Key/Crt
    ERROR: Could not remove nonexistent crt “/etc/ssl/certs/hcgbyrevele.com.crt.old.1303442932.crt”.

    Any Suggestions?

  4. #4
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: deleting CSRs and RSA keys

    Hello

    Quote Originally Posted by ScrltOTara View Post
    I needed to install a new SSL cert for a client. They have two CSRs and two RSA keys in their cpanel SSL manager. I hit "delete" on all of them - I want to remove all the expired stuff and start fresh, and they say they are deleted, but they never go away.
    Could you check to see if these files exist in the following locations:

    /home/username/ssl/private/
    /home/username/ssl/certs/

    Quote Originally Posted by ScrltOTara View Post
    Also, via SSH, I can remove anything that has anything AFTER the .crt and .csr, right? Those are backups and old? For example:

    host.scarletsweb.com.crt
    host.scarletsweb.com.crt.1205527583
    host.scarletsweb.com.crt.old.1205527582
    host.scarletsweb.com.crt.old.1205528188
    host.scarletsweb.com.csr
    Yes, that is correct. The files that end in a number or with ".old" are not active. You are welcome to remove them if the files are no longer required.

    Quote Originally Posted by easysitegroup View Post
    When I attempt to delete them I get the following error:

    SSL Key/Crt Manager
    Delete SSL Key/Crt
    ERROR: Could not remove nonexistent crt “/etc/ssl/certs/hcgbyrevele.com.crt.old.1303442932.crt”
    Could you check to see if these files exist in:

    /etc/ssl/certs

    If they do not exist there, could you open a support ticket and reference the ticket number here so we may investigate this further for you?

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. Invalid CSRs generated with cPanel
    By mholt in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-13-2009, 09:11 AM
  2. 2048-bit CSRs
    By movielad in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-31-2008, 10:45 AM
  3. I can't create RSA key for SSH, only DSA?
    By tomfra in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-21-2006, 05:57 AM
  4. cpanel CSRS no longer working
    By jcase in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-08-2004, 02:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube