CertificateManager 1.0.5
Certificate Manager is a package which makes it easy to create certificates (chained and self signed) which can be used to in client server authentication and IoT Devices like Azure IoT Hub
Install-Package CertificateManager -Version 1.0.5
dotnet add package CertificateManager --version 1.0.5
<PackageReference Include="CertificateManager" Version="1.0.5" />
paket add CertificateManager --version 1.0.5
#r "nuget: CertificateManager, 1.0.5"
Certificate Manager is a package which makes it easy to create certifcates which can be used to in client server authentication and IoT Devices like Azure IoT Hub
========================
Quickstart | Documentation | Changelog
Basic usage ASP.NET Core, .NET Core
Add the NuGet package to the your project file
<PackageReference Include="CertificateManager" Version="1.0.5" />
The NuGet packages uses dependency injection to setup. In a console application initialize the package as follows:
var serviceProvider = new ServiceCollection()
.AddCertificateManager()
.BuildServiceProvider();
Or in an ASP.NET Core application use the Startup ConfigureServices method to initialize the package.
public void ConfigureServices(IServiceCollection services)
{
// ...
services.AddCertificateManager();
}
Now the package is ready to use. See the Documentation to create the specific certificates for your use case.
Examples Creating Certificates:
- Create chained certificate authentication certificates console
- Create self signed certificate authentication certificates console
- Create chained certificates for Azure IoT Hub
- Create verify certificate for Azure IoT Hub .pem or .cer
- Create device (Leaf) certificate for Azure IoT Hub device
- Create development certificates for SPAs HTTPS development, like Vue.js, Angular
- Create certificates for IdentityServer4 RSA and ECDsa
Examples Using Certificates:
- ASP.NET Core chained certificate authentication
- Azure ASP.NET Core self signed certificate authentication
- Grpc chained certificate authentication
- Simulate Azure IoT Hub Device with device certificate
Microsoft Certificate Authentication Docs:
Read certificates and private keys from PEM files
https://github.com/oocx/ReadX509CertificateFromPem
Blogs
Certificate Manager is a package which makes it easy to create certifcates which can be used to in client server authentication and IoT Devices like Azure IoT Hub
========================
Quickstart | Documentation | Changelog
Basic usage ASP.NET Core, .NET Core
Add the NuGet package to the your project file
<PackageReference Include="CertificateManager" Version="1.0.5" />
The NuGet packages uses dependency injection to setup. In a console application initialize the package as follows:
var serviceProvider = new ServiceCollection()
.AddCertificateManager()
.BuildServiceProvider();
Or in an ASP.NET Core application use the Startup ConfigureServices method to initialize the package.
public void ConfigureServices(IServiceCollection services)
{
// ...
services.AddCertificateManager();
}
Now the package is ready to use. See the Documentation to create the specific certificates for your use case.
Examples Creating Certificates:
- Create chained certificate authentication certificates console
- Create self signed certificate authentication certificates console
- Create chained certificates for Azure IoT Hub
- Create verify certificate for Azure IoT Hub .pem or .cer
- Create device (Leaf) certificate for Azure IoT Hub device
- Create development certificates for SPAs HTTPS development, like Vue.js, Angular
- Create certificates for IdentityServer4 RSA and ECDsa
Examples Using Certificates:
- ASP.NET Core chained certificate authentication
- Azure ASP.NET Core self signed certificate authentication
- Grpc chained certificate authentication
- Simulate Azure IoT Hub Device with device certificate
Microsoft Certificate Authentication Docs:
Read certificates and private keys from PEM files
https://github.com/oocx/ReadX509CertificateFromPem
Blogs
Release Notes
bug fix Subject Key Identifier
Dependencies
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.6)
- System.ComponentModel.Annotations (>= 4.7.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.