ACMESharp
ACMESharp copied to clipboard
Failed to submit
I got this when I got to the step to submit the certificate.
PS <Path>> Submit-ACMECertificate
- Submit-ACMECertificate
-
+ CategoryInfo : NotSpecified: (:) [Submit-ACMECertificate], WebException + FullyQualifiedErrorId : System.Net.WebException,ACMESharp.POSH.SubmitCertificate
And after when I try to check the certificate I get:
PS <Path>> Update-ACMECertificate
- Update-ACMECertificate
-
+ CategoryInfo : NotSpecified: (:) [Update-ACMECertificate], Exception + FullyQualifiedErrorId : System.Exception,ACMESharp.POSH.UpdateCertificate
And when I try to submit again I get:
PS <Path>> Submit-ACMECertificate
- Submit-ACMECertificate
-
+ CategoryInfo : NotSpecified: (:) [Submit-ACMECertificate], IOException + FullyQualifiedErrorId : System.IO.IOException,ACMESharp.POSH.SubmitCertificate
For the record, when I ping acme-v01.api.letsencrypt.org, it resolves and pings normally.
EDIT: I had a _ in the alias, tried again without it and it completed successfully.
Are you saying you got the unresolved DNS name error when you specified an invalid "Identifier Alias"?
No, the alias was correct, or it didn't complain when I made it at least(there was an _ in it, but not sure if that's the error). There was some errors with the connection, so maybe its the case that connection was down when I tried to run submit and it couldn't resolve. Thanks for fast response :)
Cool, yeah it sounds like this was just a case of the DNS name was temporarily not resolving for some reason.
I guess this is a small usecase, but I would maybe add it to the wiki or allow for asset file to resubmit the request that it made or make the program not "save" that it has been sent, so that you can resubmit.
Good ideas -- I think the underlying problem is a bug in the error handling logic and the code not cleaning up after itself properly or testing for this corner case.