Skip to content

Script not working any more #1

@albert-t25

Description

@albert-t25

Seems the script has stopped working. I get the following error:

Setting up new ACME identifier for mail.example.al using mail.example.al_Cert_2021_02.
System.Management.Automation.CmdletInvocationException: Invalid URI: The URI scheme is not valid. ---> System.UriFormatE
xception: 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 142
   at ACMESharp.POSH.NewIdentifier.ProcessRecord() in C:\projects\acmesharp\ACMESharp\ACMESharp.POSH\NewIdentifier.cs:li
ne 103
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorR
esults, Boolean enumerate)
   at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInterna
l[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcCo
ntext)
   at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
New-ACMEIdentifier : Invalid URI: The URI scheme is not valid.
At C:\Mdaemon\LetsEncrypt\letsencrypt.ps1:441 char:23
+         $Identifier = New-ACMEIdentifier -Dns $domain -Alias $global:Alias -Erro ...
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-ACMEIdentifier], UriFormatException
    + FullyQualifiedErrorId : System.UriFormatException,ACMESharp.POSH.NewIdentifier

The script is stopping because an error occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions