IP Ownership isssue for SSL Cert

americanintel

Verified User
Joined
Mar 1, 2004
Messages
133
Location
Granbury, TX
While trying to renew my SSL on a reseller account store.domain.com which has no users, just the reseller by itself, as soon as I click on SSL Menu I get this:

Cannot Execute Your Request

Details
You can only add a certificate if you own the ip you are using

I've checked these files and they look ok.
/usr/local/directadmin/data/admin/ips/*
/usr/local/directadmin/data/users/<user>/ip.list
/usr/local/directadmin/data/users/<user>/user.conf

When I go to Reseller>IP Management it shows the correct IP, status as owned and nothing under Users or Nameserver.

My cert has expired so I need to resolve this asap. I have a vagure recollection of having some related issues after I had restored this reseller from another server....maybe. The store.domain.com.db file was not present so I created it and set permissions like the others...for this reseller of course.

I'm stuck. Somewhere DA can't find or read a file to know that this IP is owned OR the fact that it's not assigned to a user, because there isn't one, is causing an problem?
:confused:
 
As the reseller you have to assign the ip to the user.
 
There's not a user...just the reseller account, which is how I've always done this for my own websites.

I may have to move the the reseller data to the parent domain and create the subdomain there with it's own user.
 
Last edited:
Well... had me stumped so I made backups of everything via the store gui, phpMyAdmin and DA, then did a cp of the whole directory (call me paranoid if you want but I've had corrupt backups before) and then deleted that reseller via the admin DA gui.

Resetup the reseller again using the same data then made a backup of that site from the user menu to create the backup directory....yeah yeah could have done it by ssh or ftp... then cp the backup file I made earlier (I have root access, my own server) and restored the site. Works fine now and was able to renew my SSL cert and go on about my business.

Oh yeah.. .had to use the nifty option under domain management to symlink private_html and public_html.

Something was borked somewhere but I couldn't find it. Works fine now.
 
Hi Brad,
Glad you got this fixed. Please make sure that your IP is owned by your user name; otherwise you will very likely face the same issue the next time you update your SSL.

It's very easy to update the information for an IP VIA SSH. Your host would have to fix this for you since you do not have access to the server.

Edit the file: /usr/local/directadmin/data/admin/ips/192.168.1.100
Change this to your IP: 192.168.1.100

Then fill in the details to look like the following:
gateway=
netmask=255.255.255.0
ns=ns1.yourdoamin.com
reseller=username
status=owned
value=username

Regards -Jason
 
Back
Top