A global tool to generate rsa/ecc certificates and json web keys
In this repo, i m building a global tool that allows to generate rsa/ecc certificates and json web keys.
The tool is based on two sub commands :
- Use sub command
Rsa
to generate an rsa certificate- Use sub command
Ecc
to generate an ecc certificate- Use sub command
Jwk
to generate a json web keyTo run the tool, type commands :
CertificateCli -h
to show helpCertificateCli -v
to show versionCertificateCli -s
to show settingsCertificateCli Rsa -f [certificate-file] -p [certificate-password]
to generate rsa certificateCertificateCli Ecc -f [certificate-file] -p [certificate-password]
to generate ecc certificateCertificateCli Jwk -f [certificate-file] -p [certificate-password]
to generate json web keyTo install global tool from a local source path, type commands :
dotnet tool install -g --configfile .\nugets\local.config CertificateCli --version "*-*" --ignore-failed-sources
To install global tool from nuget source, type these command :
- For stable version :
dotnet tool install -g CertificateCli --ignore-failed-sources
- For prerelease version :
dotnet tool install -g CertificateCli --version "*-*" --ignore-failed-sources
To uninstall global tool, type these command :
dotnet tool uninstall -g CertificateCli
Tools
: vs22, net 6.0/7.0, certificate-manager, text-copy, command-line, spectre-console