Error when i get renew certificate ACMESharp


#1

I ran this command:
Get-ACMEExtensionModule | Select-Object -Expand Name

Get-ACMEChallengeHandlerProfile -ListChallengeHandlers

New-ACMECertificate -Generate -IdentifierRef www-example-com -Alias cert-example1-domains

Submit-ACMECertificate -CertificateRef cert-example1-domains

It produced this output:
Submit-ACMECertificate : Error creating new cert :: authorizations for these names not found or expired:www.example.com

Please help me!


#2

Hi @tatti,

Please take a look at this issue on GitHub:
https://github.com/ebekker/ACMESharp/issues/258
(Since that’s acmesharp’s support…

P.S.

Do you actually use example.com for the domain Input ? Or just replaced the real domain with the example.com?

Also, shouldn’t you execute something to complete acme challenges and update the identifier before new acme certificate?

Thank you


#3

I replaced the real domain with the example.com
How can i execute something to complete acme challenges and update the identifier before new acme certificate?
I tried:
Complete-ACMEChallenge -IdentifierRef www-example-com -ChallengeType http-01 -Handler iis -HandlerParameters @{ WebSiteRef = ‘example’ }

On this step i get error
Complete-ACMEChallenge : authorization is not in pending state; use Force flag to override this validation
Can you write all steps for renew?


#4

Hi,

I’m sorry if I made any mistake… But from what I see, acmesharp doesn’t provide a script / option to renew the certificate. The author was saying “run the whole get started process again (except create new registration with let’s encrypt)” to renew your certificate (in this way it’s actually get a new certificate)

Also it seems that the author wasn’t responding to any new issues now… (the last code update was 7 months ago)

You might want to choose an acme-v2 compatible clients… (Since it’s keep updating and most of those support auto renewal)

Apologize if my response don’t help…
Thank you


#5

All the same, you helped. I manually did everything and ok. Many thanks!


#6

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