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:
	
	
	
		
I'am using a additional nginx directive to redirect everything to https:
	
	
	
		
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
				
			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