Creating CA signed certificate in powershell on windows-server 2012R2

smyasingh

New Member
for windows-server2016 its quite easy using " New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "myCertificate" -Signer $rootcert " command with $rootcert having another self-signed certificate
however for windows server 2012 R2, -Signer parameter does not exist.

I'm working on windows server 2012 R2 with powershell version 4.

is there any way by which I can create my own CA signed certificate?
 

Neemobeer

Windows Forum Team
Staff member
With pure powershell no, you'd either need to do it with .Net calls or a third party module like BouncyCastle or New-SelfSignedCertifcateEx
 
Top