• 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.

redirect to https and let's encrypt extension

patrickf

New Pleskian
Hello,

I'am using nginx + php fpm for a domain hosted on my server using plesk. Today i tried to get an let's encrypt certificate for that domain.
But i got following error message:
Code:
Failed letsencrypt execution: Failed authorization procedure. xxx.xx (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from ...403 Forbidden

I'am using a additional nginx directive to redirect everything to https:
Code:
if ($scheme = http) {

    return 301 https://$server_name$request_uri;

}

I found out that this is the problem. As far as i know let's entcrypt only works with an http link.

Is there a way to redirect everything to https und use the let's encrypt extension?

Regards,
Patrick
 
Hi patrickf,

.htaccess - files and additional nginx directives may prevent the correct installation of a Let's encrypt - certificate. Please consider to rename .htaccess - files to .htaccess.bak ( at docroot ) and remove additional directives, which cause problems. After your certificate creation, you certainly may rename your .htaccess - file and re-add your additional nginx directives.
 
Back
Top