SHARE
TWEET

Untitled

a guest Apr 26th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $cert = New-SelfSignedCertificate -DnsName lingarogroup.com -CertStoreLocation cert:\LocalMachine\My
  2.  
  3. $CertPassword = ConvertTo-SecureString -String "Lingaro123" -Force –AsPlainText
  4.  
  5. Export-PfxCertificate -Cert cert:\LocalMachine\My\$($cert.Thumbprint) -FilePath C:\AzureWeeklyCert.pfx -Password $CertPassword
  6. Export-Certificate -Cert cert:\LocalMachine\My\$($cert.Thumbprint) -FilePath C:\AzureWeeklyCert.cer
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top