Upgrade powershell code to ACMEv2 protocol
haviay opened this issue · 1 comments
haviay commented
Hi,
i use ACMESharp via power shell to create multiple domains per certificates
How can i rewrite this code below?
import-module ACMESharp
$email = "mailto:admin@admin.com"
$iissitename = "websitename"
$certname = "aaa15$ (get-date -format yyyy-MM-dd--HH-mm)"
$pfxfile = "C:\Certs\03\pfx$certname.pfx"$initializevault = $FALSE
$createregistration = $FALSE
$createalias = $TRUE$domains = @(<...list of domains...>
)$aliases = @()
if($initializevault)
{
Initialize-ACMEVault
}Get-ACMEVault