Advertisement
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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement