szanzibar / autocerts

4 stars 0 forks source link

Export-PluginArgs : Cannot bind argument to parameter 'PluginArgs' because it is null. #1

Open stansoltz opened 1 week ago

stansoltz commented 1 week ago

I tried your wonderful instructions, but get this error at the step right before I try to download the certificates? "$cert = New-PACertificate '*.mydomain.com','mydomain.com' -AcceptTos -Contact 'myemail@gmail.com' -Install -Plugin Namecheap -PluginArgs $ncParams"

Export-PluginArgs : Cannot bind argument to parameter 'PluginArgs' because it is null. At C:\Program Files\WindowsPowerShell\Modules\Posh-ACME\4.25.1\Public\Set-PAOrder.ps1:146 char:61

WARNING: This certificate order has already been completed. Use -Force to overwrite the current certificate.

szanzibar commented 1 week ago

Hey sorry I haven't used or needed this setup in years so I have no idea what's going on. Off the top of my head it looks like your $ncParams might be empty or be invalid? Check to make sure that variable is valid. But unfortunately I can't help more than that. If you figure out a problem with the guide feel free to open a PR or let me know so I can update the info.

stansoltz commented 1 week ago

if you don't use this setup how do you now do HTTPS for Blue Iris?

szanzibar commented 1 week ago

I moved about 2 years ago, and no longer have cameras or blue iris at all. This setup did serve me well up till then though.