• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved Enable SSL for domain from command line

Garrett

New Pleskian
I'm able to create an SSL certificate in a domain's repository using the plesk bin certificate utility. Is it also possible to actually enable that certificate for the domain from the command line? Currently I have to visit the "Hosting Settings" screen and manually set the certificate. Thanks.
 
Hi Garrett,

Is it also possible to actually enable that certificate for the domain from the command line?
Your goal can be achieved with another CLI utility:

plesk bin subscription -u example.com -certificate-name "Site Certificate"
plesk bin subscription -u example.com -ssl true

More informations and the full documentation for CLI - commands with Plesk can be seen at:

 
Back
Top