PKISharp / ACMESharpCore

An ACME v2 client library for .NET Standard (Let's Encrypt)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetAuthorizationDetailsAsync started giving 405 for letsencrypt

f0rza opened this issue · comments

commented

After 2 years of work with no issues GetAuthorizationDetailsAsync started giving an error:

https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/83121408

{
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "Method not allowed",
  "status": 405
}

Are you specifying usePostAsGet in your constructor for the AcmeProtocolClient? Let's Encrypt servers stopped supporting unauthenticated GET's last year: https://community.letsencrypt.org/t/acme-v2-scheduled-deprecation-of-unauthenticated-resource-gets/74380

commented

No problem, and thanks to @WouterTinus for this enhancement a while back.

Duplicate of #42