• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question XML API php : Create subdomain with letsencrypt ssl certificate

Incredible_max

New Pleskian
I am creating a subdomain via the xml API and PHP which is working just fine.
But now I am trying to create those subdomains with a ssl certificate which shall be created by letsencrypt automatically, which works also fine if I create the subdomain by hand.

That's the xml packet:
<packet version=\"1.6.8.0\">
<subdomain>
<add>
<parent>" . $domain . "</parent>
<name>" . $name . "</name>
<property>
<name>www_root</name>
<value>" . $path . "httpdocs" . "</value>
</property>
<property>
<name>ssi</name>
<value>true</value>
</property>
<property>
<name>ssl</name>
<value>true</value>
</property>
</add>
</subdomain>
</packet>

Do I have to add anything to get this running?
 
As far as I know, LE certificates can't be managed by API XML yet.
 
Back
Top