Authorization result: invalid

Was running the tool to create certificate and it failed with 400 .

My domain

I ran this command:

It produced this output:

1: Single binding of an IIS site
2: SAN certificate for all bindings of an IIS site
3: SAN certificate for all bindings of multiple IIS sites
4: Manually input host names
C: Cancel

Which kind of certificate would you like to create?: 4

Enter comma-separated list of host names, starting with the primary one:

[INFO] Plugin Manual generated target [Manual] [1 binding -]

1: Default Web Site

Choose site to create new bindings: 1

Enter an email address (not public, used for renewal fail notices):

Do you agree to (y/n): - yes

[INFO] Authorize identifier:
[INFO] Authorizing using http-01 validation (SelfHosting)
[INFO] Answer should now be browsable at
[EROR] Authorization result: invalid
[EROR] ACME server reported:
[EROR] [type] urn:acme:error:connection
[EROR] [detail] Fetching Connection refused
[EROR] [status] 400
[EROR] Create certificate failed


Which tool did you use?
Could you please provide us the link to that tool?

The authorization is invalid because Let’s Encrypt need to be able to connect to your server, but you didn’t allow that connection (port closed). If you are performing http validation, you must allow Let’s Encrypt (or the ‘external world’) to connect to your server and see the correct token. Otherwise, you’ll need to use DNS validation, which is basically add a TXT record (for each host) everytime you request a new certificate.



Its resolved, I just made sure port 80 is open.

1 Like

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