• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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