dotnet-certificate-tool 2.0.9

dotnet tool install --global dotnet-certificate-tool --version 2.0.9                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-certificate-tool --version 2.0.9                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-certificate-tool&version=2.0.9                
nuke :add-package dotnet-certificate-tool --version 2.0.9                

Dotnet Certificate Tool

Directions

Command line tool to install and remove certificates from the current user's store. Mainly used to workaround the limitation of certificates installed in the current user's store in Unix hosts.

See following github issue for more information.

Installation

dotnet tool install --global dotnet-certificate-tool

Usage

Available arguments:

  • --base64 (-b): base 64 encoded certificate value
  • --file (-f): path to a *.pfx certificate file
  • --cert (-c): path to a PEM formatted certificate file
  • --key (-k): path to a PEM formatted key file
  • --password (-p): password for the certificate
  • --store-name (-s): certificate store name (defaults to My). See possible values here
  • --store-location (-l): certificate store location (defaults to CurrentUser). See possible values here

With a base 64 string

Assuming you have the following variables setup:

  • $base64: base 64 encoded certificate value
  • $password: pfx certificate password
  • $thumbprint: certificate's thumbprint

certificate-tool add --base64 $base64 --password $password

certificate-tool remove --thumbprint $thumbprint

With a pfx file

Assuming you have the following variables setup:

  • $password: pfx certificate password
  • $thumbprint: certificate's thumbprint

certificate-tool add --file ./cert.pfx --password $password

certificate-tool remove --thumbprint $thumbprint

With PEM formatted files

Assuming you have the following variables setup:

  • $password: pfx certificate password
  • $thumbprint: certificate's thumbprint

certificate-tool add --cert ./cert.crt --key ./cert.key --password $password

certificate-tool remove --thumbprint $thumbprint

License

Copyright © 2020, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license here.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.0.9 154,140 3/1/2024
2.0.7 836,186 11/25/2021
2.0.6 197,369 3/12/2021