more debug code

This commit is contained in:
David Sparer
2017-03-22 17:06:30 -06:00
parent 6e5e78df3b
commit c383736834

View File

@@ -46,6 +46,7 @@ if ($CertificatePassword -eq "") {
}
try {
Write-Output "Trying to open cert: $($CertificatePath)"
Write-Output "Trying to unlock cert with pass: $($CertificatePassword)"
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($CertificatePath, $CertificatePassword) -ErrorAction Stop
} catch {