DA API python check if ssl is installed

jeroen3012

New member
Joined
Oct 28, 2017
Messages
1
Hello,

im using python in combination with the directadmin api.

I would like to check if a domain has i ssl certificate enabled. Currently i am using the code below:

Connecting
http://admin|%s:%s@%s:2222/CMD_API_SSL?domain='%s'" % (username, password, hostname, domain)

But then i get an error: details=You do not own that domain']. I cant figure out why this is happening.

I hope somebody can help me.


Thanks,
 
Back
Top