📎 AI Summary:
The original poster is seeking a method to create a CA-signed certificate on Windows Server 2012 R2 using PowerShell, noting that the command used in Windows Server 2016 is not available in their environment. A respondent indicates that creating such a certificate solely with native PowerShell is not possible on Windows Server 2012 R2 and suggests using .NET calls or third-party modules like BouncyCastle as alternatives. Overall, the discussion highlights the limitations of the native PowerShell tools on older Windows Server versions and suggests workarounds for generating CA-signed certificates.

smyasingh

New Member
Joined
Sep 28, 2018
Messages
1
Thread Author #1
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?
 

Solution
With pure powershell no, you'd either need to do it with .Net calls or a third party module like BouncyCastle or New-SelfSignedCertifcateEx

Neemobeer

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

Solution