Easy golang RSA key and certificate management.
API documentation available on godoc.
On Windows, keyman uses a custom executable for importing certificates into the system trust store. This executable is built using Visual Studio from this solution.
The resulting executable is packaged into go using go-bindata by running the below command inside the certimporter folder:
rm Release/*.pdb && go-bindata -nomemcopy -nocompress -prefix Release -o ./certimporter.go -pkg certimporter Release
Note the use of -nocompress
- we do this so that the resulting executable can
be more efficiently binary diffed. When distributing a full executable, it will
be compressed for distribution anyway, so there's no point to compressing the
embedded certimporter.exe.