How do I install an SSL certificate on Plesk hosting?

Procédure

How do I set up an SSL certificate in Plesk?

1 Connect to your Plesk interface via your LWS customer account.

2. Click on the"Let's Encrypt" button on your Plesk interface.

How do I install an SSL certificate on Plesk hosting?

3. enter your email address in the box provided. Choose whether you wish to issue a Wilcard SSL/TLS certificate and click on the"Install" button.

How do I install an SSL certificate on Plesk hosting?

4. Check that the two TXt enreigstrements have been added to your domain and click on the "Continue" button to install the SSL certificate.

How do I install an SSL certificate on Plesk hosting?

5. Installing and validating an SSL certificate can take up to 24 hours.

How do I install an SSL certificate on Plesk hosting?

How to resolve a certificate installation error :

  1. To resolve a certificate installation error, make sure that the site is accessible and searchable on the Internet (no 4xx and 5xx errors).

If the site displays a Plesk default page, create a test.txt file in Domains > my-domain-lws.com > File Manager and add text to this file. Then open this file in your web browser at my-domain-lws.com/test.txt and make sure it is accessible from the Internet. If the file is not accessible, check the site configuration.

2. Go to Websites & Domains, click on IIS Settings and deactivate the Require SSL / TLS option.

3. Go to Web Sites & Domains, click on File Manager and:

  • Disable rewrite rules in the web.config file, if applicable

  • Disable Microsoft ASP and ASP.NET support from the Websites & Domains > Hosting Settings menu.

  • create a file test.txt in the folder well-known\acme-challenge\ (where the Let's Encrypt files are temporarily stored) and add text to this file; Then, open this file in your web browser at the address http://mon-domaine-lws.com/.well-known/acme-challenge/test.txt and make sure that it is accessible from the Internet via HTTP without the prefix www . If the file is not accessible, check the site configuration.

How to activate redirection from HTTP to HTTPS

Before enabling HTTPS auto forwarding for your domain, make sure that the site is accessible via HTTPS :

  • The SSL / TLS support setting is activated in the hosting parameters section
  • An SSL certificate is installed and selected for your domain .

To activate automatic redirection to HTTPS:

In Plesk, Websites & Domains, click on Hosting settings

How do I install an SSL certificate on Plesk hosting?

How do I install an SSL certificate on Plesk hosting?

Then activate the SSL/TLS support and Permanent 301 redirection settings, select your certificate from the drop-down menu and click on the Apply button to save the changes.

You can also activate automatic redirection to HTTPS from the web.config file located at the root of your website. To do this, go to Websites & Domains, click on File Manager and locate the web.config file.

Open the file using Plesk's built-in code editor, and add the following content before it











Note: If the / sections are already present in the web.config file, place the above content without the ... tags, i.e. in the existing section.

How to renew your Let's Encrypt certificate:

To renew your Let's Encrypt :

  1. from your Plesk, click on the Websites & Domains menu, then on Let's Ecnrypt

How do I install an SSL certificate on Plesk hosting?

How do I install an SSL certificate on Plesk hosting?

  • Click on the Renew button and wait a few seconds

How do I install an SSL certificate on Plesk hosting?

  • Click on the Continue button, which will be displayed in the following window

How do I install an SSL certificate on Plesk hosting?

  • The above confirmation message will be displayed to let you know that the certificate has been successfully renewed.

Rate this article :

5/5 | 2 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

0mn reading

How do I create an FTP user in Plesk?

0mn reading

How do I change the FTP password in Plesk?

13mn reading

How do I install a CMS from Plesk?

0mn reading

FTP connection problem: Error 530 User cannot log


Ask the LWS team and its community a question