a guest Apr 26th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $cert = New-SelfSignedCertificate -DnsName lingarogroup.com -CertStoreLocation cert:\LocalMachine\My
- $CertPassword = ConvertTo-SecureString -String "Lingaro123" -Force –AsPlainText
- Export-PfxCertificate -Cert cert:\LocalMachine\My\$($cert.Thumbprint) -FilePath C:\AzureWeeklyCert.pfx -Password $CertPassword
- Export-Certificate -Cert cert:\LocalMachine\My\$($cert.Thumbprint) -FilePath C:\AzureWeeklyCert.cer
RAW Paste Data