Error creating certificate

Hi,

Im running Hass.io and i’m trying to create a letsencrypt certificate through a plugin called Duckdns.

While running the script i get the following error:

  • Signing domains…
  • Generating private key…
  • Generating signing request…
  • Requesting new certificate order from CA…
  • ERROR: An error occurred while sending post-request to https://acme-v02.api.letsencrypt.org/acme/new-order (Status 400)
    Details:
    HTTP/1.1 100 Continue
    Expires: Sat, 15 Sep 2018 17:35:39 GMT
    Cache-Control: max-age=0, no-cache, no-store
    Pragma: no-cache

HTTP/1.1 400 Bad Request
Server: nginx
Content-Type: application/problem+json
Content-Length: 149
Boulder-Requester: XXXXX
Replay-Nonce: XXXXXXX

It looks like the post request for the certificate fails. What does the status 400 mean?

Best regards,

Xander

Hi @D3rax

there are a lot of variants. Perhaps you've hitted a limit. What's your domain name? Aren't there more messages?

Is there a way to check which limites has been reached?

It could be that I reached the limit of 5 renewals per week, but im not sure.

If you have certificates created, you can check these per Certificate Transparency

https://transparencyreport.google.com/https/certificates

But then you would have 5 certificates, so this can't be the problem.

There

you write additional things.

{
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "Error creating new order :: DNS name does not have enough labels",
  "status": 400
}

Good call, I had not focused on the last few lines anymore. Found the meaning of the dns labels on this forum.

Turned out I did no put my domain name correctly in the hass.io addon (did not fillin the complete adress).

1 Like

Then this is the error. Yes, you must use your complete domain name to get a certificate.

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