我创建了一个脚本来自动化为我的网站生成 Let's Encrypt 证书的过程。该脚本一直运行良好,但从昨天开始,当我尝试运行时收到以下问题:
New-ACMERegistration -Contacts mailto:user@email.com -AcceptTos
错误:
System.UriFormatException: Invalid URI: The URI scheme is not valid.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at ACMESharp.AcmeClient.GetDirectory(Boolean saveRelative) in
C:\projects\acmesharp\ACMESharp\ACMESharp\AcmeClient.cs:line 145
at ACMESharp.POSH.NewRegistration.ProcessRecord() in
C:\projects\acmesharp\ACMESharp\ACMESharp.POSH\NewRegistration.cs:line 63
at System.Management.Automation.CommandProcessor.ProcessRecord()
我安装了最新版本的 PowerShell 模块(https://www.powershellgallery.com/packages/ACMESharp/0.9.1.326)。
有没有人偶然发现类似的问题?