# Failed to pass the challenge for domain

**URL:** <https://community.letsencrypt.org/t/failed-to-pass-the-challenge-for-domain/113338>\
**Category:** Help\
**Created:** [February 16, 2020, 8:25pm UTC](https://community.letsencrypt.org/t/failed-to-pass-the-challenge-for-domain/113338 "2020-02-16T20:25:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![incube8r](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/incube8r/32/37156_2.png) [@incube8r](https://community.letsencrypt.org/u/incube8r)\
**Post date:** [February 16, 2020, 8:25pm UTC](https://community.letsencrypt.org/t/failed-to-pass-the-challenge-for-domain/113338/1 "2020-02-16T20:25:08Z")

</div>

Using acme4j client fails to generate certificate with this error:

```
org.shredzone.acme4j.exception.AcmeException: Failed to pass the challenge for domain www.
mysampledomain123.com, ... Giving up.

```

I manually checked the challenge file and got

```
http://www.mysampledomain123.com/.well-known/acme-challenge/jU--PkDrn5tDZw2RN6NNJHbPD00ovHFkLFvN3mJdeQX

```

Inside the file:

```
jU--PkDrn5tDZw2RN6NNJHbPD00ovHFkLFvN3mJdeQX.tuMr-UijwpsJ1KVZkdWTYgodWZ2SxxKdB7_CMAAEfpg

```

And here’s the complete HTTP response header:

```
Accept-Ranges: bytes
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/plain
Date: Sun, 16 Feb 2020 14:15:22 GMT
Server: nginx/1.14.0 (Ubuntu)
Transfer-Encoding: chunked
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Powered-By: Divroll
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 0

```

I’m wondering whether the problem is with the HTTP response headers or the content itself.  
Any ideas would be appreciated.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [February 16, 2020, 9:37pm UTC](https://community.letsencrypt.org/t/failed-to-pass-the-challenge-for-domain/113338/2 "2020-02-16T21:37:47Z")

</div>

There doesn’t seem to be enough detail in the acme4j logs entry provided to help anyone easily determine where/what the problem is.

If there is any way to increase the logging, please do so - if only for a test.  
Then also post the log file here - maybe someone can find a clue in there. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [March 17, 2020, 9:37pm UTC](https://community.letsencrypt.org/t/failed-to-pass-the-challenge-for-domain/113338/3 "2020-03-17T21:37:49Z")

</div>

Closed on March 17, 2020, 9:37pm UTC

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