Creating Self Signed certificates with Powershell 4.0

By Andrei Ungureanu - Last updated: Monday, November 24, 2014 - Save & Share - Leave a Comment

In sfarsit am gasit in Windows o metoda mai simpla de a face un certificat selft signed. Uitati de makecert.exe si treceti la Powershell 4.0 pentru ca are tot ce va trebuie. Cu New-SelfSignedCertificate puteti face un certificat instant sau puteti copia unul existent.

Sintaxa arata cam asa:

New-SelfSignedCertificate -DnsName test.winadmin.ro -CertStoreLocation cert:LocalMachine\My

image

image

Si nu trebuie generat neaparat pe masina destinatie. puteti sa-l generati oriunde si apoi sa il exportati cu Export-PfxCertificate.

Posted in Scripting, Windows Server • Tags: Top Of Page

Write a comment