Skip to content

GetSSL -renew not working #32

@flusheDData

Description

@flusheDData

Hi,
It seems that email addresses are no longer required so GetSSL -renew is not longer working.
The problem is in line 938 where the code:
$Emails = ($account.contact).Replace('mailto:','')
should be repaced with:
if ($account.contact) {
$Emails = ($account.contact).Replace('mailto:','')
} else {
$Emails = ""
}

Kind regards,
Miguel

more info at
https://letsencrypt.org/2025/01/22/ending-expiration-emails

p.s. Get-PAAccount shows the field contact empty making the script fail. The above solution fixes the problem.

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