rmbolger / Posh-ACME

PowerShell module and ACME client to create certificates from Let's Encrypt (or other ACME CA)
https://poshac.me/docs/latest/
MIT License
747 stars 184 forks source link

Submit-ChallengeValidation Input string wrong format (AutoDNS) #355

Closed werner-h closed 3 years ago

werner-h commented 3 years ago

Hi,

we have the problem on renewing our certs after an password change on the DNS provider.

I tried with Submit-Renewal -PluginArgs but I always get following error:

WARNING: Fewer Plugin values than names in the order. Using AutoDNS for the rest.
Submit-ChallengeValidation : Fehler beim Formatieren einer Zeichenfolge: Die Eingabezeichenfolge hat das falsche Format..
In C:\Program Files\WindowsPowerShell\Modules\Posh-ACME\4.5.0\Public\New-PACertificate.ps1:218 Zeichen:9
+         Submit-ChallengeValidation
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (<?xml version="...task></request>:String) [Submit-ChallengeValidation], RuntimeException
    + FullyQualifiedErrorId : FormatError,Submit-ChallengeValidation
werner-h commented 3 years ago

Solved. Account was locked on the provider, so just changing password was not enough.

rmbolger commented 3 years ago

Hey @werner-h. Glad to hear it was a simple fix. Thanks for the quick follow up.