Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Unable to issue Let’s Encrypt Certificate : Status : 400 Timeout during connect (likely firewall problem)

 
301 redirectapplications extensionsdnsdomainsfirewall

Symptoms

  • Attempt to issue a Let's encrypt certificate fails with the error:

    We can not create an SSL Certificate for example.com:
    Type: urn:ietf:params:acme:error:connection
    Status: 400
    Detail: 203.0.113.2: Fetching https://example.com/.well-known/acme-challenge/YqQkDV1cAaR_L7F45tDIoWCBYX9QX3ReoPEgayOb2: Timeout during connect (likely firewall problem).

  • Ports 443 and 80 are open for the IP address from which the website loads
  • Trying to Curl the address fails with one of the following a:

    # curl https://example.com/.well-known/acme-challenge/YqQkDV1cAaR_L7F45tDIoWCBYX9QX3ReoPEgayOb2:
    curl: (51) SSL: no alternative certificate subject name matches target host name 'example.com'

    # curl https://examplecom/.well-known/acme-challenge/wEazPf4SbPyWqsQjiRInl-BS0pD2LcJvWqrghiQom-w
    curl: (60) SSL certificate problem: certificate has expired
    More details here: https://curl.haxx.se/docs/sslcerts.html

  • Visiting the HTTP address shows that a redirection is happening:

    # curl -I http://example.com/.well-known/acme-challenge/YqQkDV1cAaR_L7F45tDIoWCBYX9QX3ReoPEgayOb2
    <html>
    <head><title>301 Moved Permanently</title></head>
    <body>
    <center><h1>301 Moved Permanently</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>

Cause

Validation fails, because HTTP to HTTPS SEO redirection is happening and the Let's Encrypt servers need to access the URL like http://example.com/.well-known/acme-challenge/YqQkDV1cAaR_L7F45tDIoWCBYX9QX3ReoPEgayOb2 via HTTP , however since the SSL certificate is either expired or not functioning properly while HTTP to HTTPS SEO redirection is enabled, this causes another error and the URL becomes unreachable.

Resolution

  1. Log into Plesk
  2. Go to Domains > example.com > Hosting & DNS > Hosting
  3. Disable Redirect visitors from HTTP to HTTPS via a SEO friendly 301 redirect
  4. Issue the Let's Encrypt SSL certificate for this domain again
  5. Re-enable Redirect visitors from HTTP to HTTPS via a SEO friendly 301 redirect
Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

DNS_PROBE_FINISHED_NXDOMAIN: What Is It And How To Fix The Problem

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »
Knowledge Base

How to customize Plesk URL

Read More »

 How to enable redirection from HTTP to HTTPS for a domain in Plesk

Read More »

Unable to issue a Let’s Encrypt certificate: The token file is either unreadable or does not have the read permission

Read More »

Option “Permanent SEO-safe 301 redirect from HTTP to HTTPS” does not work on Windows OS

Read More »

Hosting Wiki

  • Django
  • Google Cloud CDN
  • AMP
  • Linux
  • JavaScript
  • MongoDB
  • HTTP/3
  • HTTP/2
  • Domain
  • Hosting Control Panel
  • Plesk
  • Lighttpd
  • NGINX
  • Static DNS
  • DNS Server
  • DNS Forwarding
  • Reverse DNS
  • IPv6
  • IPv4
  • SIP
  • SSL
  • UDP/IP
  • URL
  • Firewall
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • TCP/IP
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family