# Problem for one domain with SSL

**URL:** <https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711>\
**Category:** General Questions\
**Created:** [April 5, 2024, 8:08pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711 "2024-04-05T20:08:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devdoit.pl](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/devdoit.pl/32/4432_2.png) [@Devdoit.pl](https://forum.hestiacp.com/u/Devdoit.pl)\
**Post date:** [April 5, 2024, 8:08pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/1 "2024-04-05T20:08:13Z")

</div>

I have created dozens of domains with SSL without any problems. Everything has always worked very well with HestiaCP. Suddenly, an error appears. I do not know why. I have DNS in Cloudflare, but without a proxy. I don’t have any firewall blocks. Apache2 server + nginx proxy. Domain: jumpersport.pl  
Debugging ok: [Let's Debug](https://letsdebug.net/jumpersport.pl/1858515)  
but I have an error:

==[Debug information Step 5]==  
{  
“type”: “http-01”,  
“status”: “invalid”,  
“error”: {  
“type”: “urn:ietf:params:acme:error:unauthorized”,  
“detail”: “185.157.81.211: Invalid response from [http://jumpersport.pl/.well](http://jumpersport.pl/.well) -known/acme-challenge/tU9QZEaehuVlFW9Yl0AXGAyYZfYVRhCcgjroz9Wq8aM: 404”,  
“status”: 403  
},  
“url”: "[https://acme-v02.api.letsencrypt.org/acme/chall-v3/334845734957/VsPflA](https://acme-v02.api.letsencrypt.org/acme/chall-v3/334845734957/VsPflA) ",  
“token”: “tU9QZEaehuVlFW9Yl0AXGAyYZfYVRhCcgjroz9Wq8aM”,  
“validationRecord”: [  
{  
“url”: “[http://www.jumpersport.pl/.well-known/acme-challenge/tU9QZEaehuVlF](http://www.jumpersport.pl/.well-known/acme-challenge/tU9QZEaehuVlF) W9Yl0AXGAyYZfYVRhCcgjroz9Wq8aM”,  
“hostname”: “www.jumpersport.pl”,  
“port”: “80”,  
“addressesResolved”: [  
“185.157.81.211”  
],  
“addressUsed”: “185.157.81.211”,  
“resolverAddrs”: [  
“A:10.1.12.89:26534”,  
“AAAA:10.1.12.81:31390”  
]  
},  
{  
“url”: “[http://jumpersport.pl/.well-known/acme-challenge/tU9QZEaehuVlFW9Yl](http://jumpersport.pl/.well-known/acme-challenge/tU9QZEaehuVlFW9Yl) 0AXGAyYZfYVRhCcgjroz9Wq8aM”,  
“hostname”: “jumpersport.pl”,  
“port”: “80”,  
“addressesResolved”: [  
“185.157.81.211”  
],  
“addressUsed”: “185.157.81.211”,  
“resolverAddrs”: [  
“A:10.1.12.88:20040”,  
“AAAA:10.1.12.83:20057”  
]  
}  
],  
“validated”: “2024-04-05T15:00:22Z”  
}

==[Abort Step 5]==  
=\> Wrong status

restarting apache2 and nginx did not work, still error.

Do you have any ideas? delete data from the directory:  
/usr/local/hestia/data/users/jumpersport and try adding the certificate again?

---

<div class="post-metadata">

**Author:** ![linkp](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/linkp/32/2863_2.png) [@linkp](https://forum.hestiacp.com/u/linkp)\
**Post date:** [April 5, 2024, 8:34pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/2 "2024-04-05T20:34:44Z")

</div>

Start by reading your logfiles before you start randomly deleting things. You need to determine why you are serving HTTP 403 & 404 responses instead of the acme challenge.

---

<div class="post-metadata">

**Author:** ![Devdoit.pl](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/devdoit.pl/32/4432_2.png) [@Devdoit.pl](https://forum.hestiacp.com/u/Devdoit.pl)\
**Post date:** [April 5, 2024, 8:41pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/3 "2024-04-05T20:41:43Z")

</div>

I just don’t know why there is no access. I don’t know where this error code comes from. All other domains have the classic answer of 200

---

<div class="post-metadata">

**Author:** ![linkp](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/linkp/32/2863_2.png) [@linkp](https://forum.hestiacp.com/u/linkp)\
**Post date:** [April 5, 2024, 8:46pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/4 "2024-04-05T20:46:35Z")

</div>

It comes from _your_ webserver. Start with its logs and see where it leads.

If you share any log excerpts here, please use text, not screenshots, and use the `</> Preformatted text` option when you post that content to preserve legibility.

---

<div class="post-metadata">

**Author:** ![Devdoit.pl](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/devdoit.pl/32/4432_2.png) [@Devdoit.pl](https://forum.hestiacp.com/u/Devdoit.pl)\
**Post date:** [April 6, 2024, 7:17pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/5 "2024-04-06T19:17:14Z")

</div>

I’ll check all the logs, maybe it’s a permissions problem ☹

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [April 6, 2024, 8:03pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/6 "2024-04-06T20:03:48Z")

</div>

Could you show the output of these commands?

```t
grep -r 'include.*\/nginx.conf_' /home/jumpersport/conf/web/jumpersport.pl
grep -r 'include.*\/nginx.ssl.conf_' /home/jumpersport/conf/web/jumpersport.pl
cat /home/jumpersport/conf/web/jumpersport.pl/nginx.conf_letsencrypt

```

---

<div class="post-metadata">

**Author:** ![Devdoit.pl](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/devdoit.pl/32/4432_2.png) [@Devdoit.pl](https://forum.hestiacp.com/u/Devdoit.pl)\
**Post date:** [April 7, 2024, 10:39am UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/7 "2024-04-07T10:39:12Z")

</div>

I removed the “www” alias and SSL was performed without any problems. The CNAME in Cloudflare for “WWW” was without a proxy, so I’m surprised. I will look into this further, but this was an issue that was causing the error apparently.

---

<div class="post-metadata">

**Author:** ![linkp](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/linkp/32/2863_2.png) [@linkp](https://forum.hestiacp.com/u/linkp)\
**Post date:** [April 7, 2024, 3:37pm UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/8 "2024-04-07T15:37:17Z")

</div>

> [@Devdoit.pl](#):
>
> The CNAME in Cloudflare for “WWW” was without a proxy

If that DNS Only CNAME pointed at a proxied hostname, it would still pass through the Cloudflare proxy.

The Cloudflare setting of _Always Use HTTPS_ can interfere with the ACME HTTP-01 challenge used to obtain a certificate from Let’s Encrypt. For that reason I use my own redirect rule in Cloudflare for HTTP → HTTPS redirection and include an exception for the `/.well-known/acme-challenge/` path.

I don’t know if that will help you, but it seemed worth sharing.

---

<div class="post-metadata">

**Author:** ![Devdoit.pl](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/devdoit.pl/32/4432_2.png) [@Devdoit.pl](https://forum.hestiacp.com/u/Devdoit.pl)\
**Post date:** [April 8, 2024, 7:58am UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/9 "2024-04-08T07:58:31Z")

</div>

Cname www pointed to an address without www, but the proxy was disabled. I always remember to turn off the proxy. This case is strange, I just had to remove the alias in hestiacp “www” and it worked. I’m investigating the matter further.

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [April 8, 2024, 11:32am UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/10 "2024-04-08T11:32:31Z")

</div>

Just tried it with a new website of mine and I had no issues

---

<div class="post-metadata">

**Author:** ![Devdoit.pl](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/devdoit.pl/32/4432_2.png) [@Devdoit.pl](https://forum.hestiacp.com/u/Devdoit.pl)\
**Post date:** [April 8, 2024, 11:48am UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/11 "2024-04-08T11:48:22Z")

</div>

I’ve never had a problem with dozens of other domains either. I’m looking for custom settings, maybe a different htaccess, or lack of permissions. Because I only see a problem for this domain. This doesn’t look like a HestiaCP bug.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [May 8, 2024, 11:48am UTC](https://forum.hestiacp.com/t/problem-for-one-domain-with-ssl/13711/12 "2024-05-08T11:48:56Z")

</div>

Closed on May 8, 2024, 11:48am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
