Certificate generation is failing

My domain is:

support.pragmatic.umx.vc

Aceme account url:
https://acme-v02.api.letsencrypt.org/acme/acct/608832226

I am using acme4j java client

Problem:

I am getting all 5 http challenge validation requests, all are being replied as 200s still certificate generation is failing.

This is the http challenge url
http://support.pragmatic.umx.vc:80/.well-known/acme-challenge/cHoDtV8AQIKqEaPXHmViYkTom0VoRfcyWzaBl71fc50

Can you please help to know the issue here??

Hi! Is there a more complete log? Make sure to paste it in-between tripple backticks, like so:

```
<your log here>
```
3 Likes

Don't have logs.
But Authorization challenge is not passing even though the acme-challenge requests are being responded with 200s

Well, you need to get the error from the server in order to understand what isn't working. Call the .getError() on the challenge is the challenge is what's invalid. See the acme4j documentation on troubleshooting; you need to make sure that you're checking the status from the server and getting any errors so that you can find out what's wrong.

5 Likes

I am logging if the status of challenge becomes invalid,
challenge.getStatus() == Status.INVALID in this case.

Here, status is not becoming INVALID even after waiting few minutes.
In that case also this returns the error challenge.getError()??

If the status isn't INVALID, then what is the status?

6 Likes

Just a thought: Remember to invoke fetch() (or update() before acme4j 3.2.0) before reading the status again, like described in the code example. Otherwise you will keep reading the locally cached state, which won't change by itself.

If that won't help either, you could enable debug logging.

4 Likes

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