Skip to content

RFC2136 Validation issue #307

Description

@loxK

Here is my script:

Set-PAServer LE_STAGE
#Set-PAServer LE_PROD
$keyVal = Read-Host 'TSIG Key' -AsSecureString
$params = @{
    DDNSNameserver = 'ns.server.com'
    DDNSKeyName = 'mydomain.com'
    DDNSKeyType = 'HMAC-SHA512'
    DDNSKeyValue = $keyVal
    DDNSExePath = 'C:\Program Files\BIND9.11.26.x64\nsupdate.exe'
}
New-PACertificate mydomain.com -Plugin RFC2136 -PluginArgs $params -AcceptTOS -Contact 'maintenance@mydomain.com' -Verbose

Here is what I get:

PS C:\users\user\Documents\WindowsPowerShell\Scripts> .\acme.ps1
COMMENTAIRES : Using ACME Server https://acme-staging-v02.api.letsencrypt.org/directory
COMMENTAIRES : Using account [redacted]
COMMENTAIRES : Using existing order for mydomain.com with status pending
COMMENTAIRES : Updating plugin args for plugin(s) RFC2136
COMMENTAIRES : Publishing challenge for Domain mydomain.com with Token [redacted] using Plugin RFC2136 and DnsAlias 'acme.mydomain.com'.
COMMENTAIRES : Adding acme.mydomain.com with value [redacted]
Submit-ChallengeValidation : Unexpected output from nsupdate command. Use -Verbose for details.
Au caractère C:\Program Files\WindowsPowerShell\Modules\Posh-ACME\4.0.0\Public\New-PACertificate.ps1:216 : 9
+         Submit-ChallengeValidation
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Unexpected outp...se for details.:String) [Submit-ChallengeValidation], RuntimeException
    + FullyQualifiedErrorId : Unexpected output from nsupdate command. Use -Verbose for details.,Submit-ChallengeValidation

I tried nsupdate from both Bind 9.16.10 and Bind 9.11.26. I am sure about my settings because I use RFC2136 Validation on multiple Linux VMs using certbot for the same domain. Running Win2k19 server.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions