Having issues with SSL cert CSR request

Jibbs

Verified User
Joined
Feb 27, 2010
Messages
18
Backstory:
I have a domain that needed an SSL cert. I made a request, got the SSL cert installed, all is well.

Customer decides they want to switch their main domain to another under the same account in DirectAdmin. I remove the old SSL cert from DA, set the other domain as main, generate a new CSR, go to request a new SSL cert, SSL company is telling me that the CSR is a duplicate.

After going back and forth with them they are telling me that DA is using the same Private Key file for the request, and that it should be deleted so that DA is forced to generate a new one.

I need to know where DA keeps this Private Key file for the domain in question so I can delete it (or at least move it temporarily) to see if this will fix the issue.
 
For once I fixed my own problem! For future reference:

go to /usr/local/directadmin/data/users/USERNAME/domains
delete (or move) the files
domain.com.cacert
domain.com.cert
domain.com.key

and they get regenerated
 
To clarify, I presume you mean that when you delete these files and then run a new CSR request, then the files get regenerated, including a new private key file.

As I recall you can do this from the Control Panel as well; creating a self-signed Certificate will also create a new private key file.

The reason DirectAdmin uses the same Private Key file by default is so that when creating a new CSR your old Certificate will still work before your new one is delivered and installed.

Jeff
 
Back
Top