Error creating certificate


#1

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


#2

Hi @D3rax

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


#3

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.


#4

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.


#5

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
}

#6

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).


#7

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


#8

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