PSBouncyCastle is a PowerShell module that allows you to use the crypto functionality from the Legion of the BouncyCastle .NET libraries.
Currently it covers the X509 certificate functionality, in particular
allowing you to replace makecert.exe
(from the Windows SDK) with
native PowerShell cmdlets.
It accompanies my series of blog posts about using Bouncy Castle from C# and from PowerShell.
Set-Location (Join-Path (Split-Path $PROFILE) 'Modules')
git clone https://github.com/rlipscombe/PSBouncyCastle.git
Import-Module PSBouncyCastle
Note: I'll get this listed on PsGet at some point.