-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-PACertificate throws error if DnsPlugin is not explicitly specified #109
Comments
Whoops! This is definitely a bug. Thanks for finding it! Give me a bit to look into it. In the mean time, explicitly specifying the plugin with |
tried that but no luck: PS C:\tools> New-PACertificate svn.mydom123.com -AcceptTOS -Contact tilos@mydom123.com -Plugin Manual
New-PACertificate : Cannot process argument transformation on parameter 'PluginArgs'. Cannot convert the "Manual" value of type "System.String" to type
"System.Collections.Hashtable".
At line:1 char:91
+ ... lutions.com -AcceptTOS -Contact tilos@mydom123.com -Plugin Manual
+ ~~~~~~
+ CategoryInfo : InvalidData: (:) [New-PACertificate], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,New-PACertificate
PS C:\tools> Get-DnsPluginHelp Manual Add
NAME
Add-DnsTxtManual
SYNOPSIS
Stores the TXT record to display when Save-DnsTxtManual is called.
SYNTAX
Add-DnsTxtManual [-RecordName] <String> [-TxtValue] <String> [-ExtraParams <Object>] [<CommonParameters>]
DESCRIPTION
This plugin requires user interaction and should not be used for any certificates that require automated renewals. Renewal operations will skip these.
RELATED LINKS
REMARKS
To see the examples, type: "get-help Add-DnsTxtManual -examples".
For more information, type: "get-help Add-DnsTxtManual -detailed".
For technical information, type: "get-help Add-DnsTxtManual -full".
PS C:\tools> New-PACertificate svn.mydom123.com -AcceptTOS -Contact tilos@mydom123.com -Plugin Manual -PluginArgs
New-PACertificate : Missing an argument for parameter 'PluginArgs'. Specify a parameter of type 'System.Collections.Hashtable' and try again.
At line:1 char:98
+ ... -AcceptTOS -Contact tilos@mydom123.com -Plugin Manual -PluginArgs
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-PACertificate], ParameterBindingException
+ FullyQualifiedErrorId : MissingArgument,New-PACertificate |
You typo'd the parameter name. You want |
Also, it looks like this may have been broken since as far back as 2.5.0. |
This should now be fixed in the next release. |
HI,
just tried simple manual DNS like the tutorial but seems not working. here my debug:
The text was updated successfully, but these errors were encountered: