Problem renewing SSL certificate

Annatto

Verified User
Joined
May 13, 2007
Messages
14
I have tried to renew a user's SSL certificate, but cannot access the SSL certificates screen - I get the message: Cannot Execute Your Request: You can only add a certificate to your main domain

I was logged in as the user, who owns a unique IP address, one domain and has a current SSL certificate. This certificate was previously installed and renewed without problem - nothing other than DA version and filespace/bandwidth allowances have altered since.

I have recently created a similar user with a unique IP and SSL cert. This was straight forward and I can see no obvious reason why updating the existing user should be different.

Could anyone advise what I can check to ensure DA is configured correctly. The admin IP management and user details screens look correct.

Thanks
 
You might need to email directadmin support and ask. I never heard of it doing that before.
 
Hello,

Only the main domain of an account is allowed to setup an SSL cert. This is because SSL only works on the first VirtualHost that exists on an IP.

To set this domains to be your domain domain, go to:
User Level -> Domain Setup -> select the domain you want, and click "Set as Default".

The domain would now but the main domain, and should be in bold if it's set correctly.

Then go back and the message should be gone.

The main domain is placed first in the Users httpd.conf file, so that it's certificate is used for that IP.

Related: http://help.directadmin.com/item.php?id=89

John
 
Thanks. I've set the domain as default and I can get into the SSL page now. :)
 
Haha but I thought you said they had one domain...thats weird.
 
They did have one domain, but it wasn't set as the default domain! Maybe the account was created before 'default domains' were introduced :confused:
 
Back
Top