• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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