Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to allow HTTPS and configure an SSL certificate on a domain in Plesk which has Hosting Type set as Forwarding in Domains > example.com > Hosting Settings?
Answer
Warning: Currently, it's possible to secure a forwarding domain only when Nginx is installed and enabled on the server.
To secure a domain with Forwarding hosting type with an SSL certificate perform the following:
-
Check if the Common Challenge directory is enabled on the server.
If the output of the command is as below:# plesk ext sslit --common-challenge-dir -info
- Available: true
- Enabled: falseExecute the next command to enable Common Challenge directory:
# plesk ext sslit --common-challenge-dir -enable
-
Go to Domains > example.com > SSL/TLS Certificates where
example.com
is a domain with hosting type Forwarding and install a Let's Encrypt or the certificate from 3rd party certificate authorities.
Comments
3 comments
How to do step 4 via CLI? Executing the below command on a forwarding domain results in an error:
Hello,
This behavior was confirmed as a bug with ID EXTLETSENC-1210. Thank you for bringing this to our attention! Until the bug is fixed, please consider issuing certificates for domains with Forwarding hosting type in Plesk interface, not via CLI.
Thanks Anastasiia Zyrianova!
Please sign in to leave a comment.