stylianosnicoletti / dotnet-certificate-tool

Command line tool to install and remove certificates from the current user's store.
https://www.nuget.org/packages/dotnet-certificate-tool
Apache License 2.0
109 stars 28 forks source link

Added the ability to import a certificate from file without a private key. #16

Closed kmosolov closed 3 years ago

kmosolov commented 3 years ago

There is a need to import certificates without a private key, but there was no way to do this by importing from a file, only by importing from a base64 string, which is not convenient. Added a check for privateKeyPath, if it is not set, then a certificate without a private key is imported.

yohanb commented 3 years ago

thanks. I'll include this in the latest release.