AspNetCoreCertificates
Certificate Manager in .NET Core for creating and using X509 certificates
**Certificate Manager** is a package which makes it easy to create certificates which can be used to in client server authentication and IoT Devices like Azure IoT Hub The project is written primarily in C#, distributed under the MIT License license, first published in 2020. Key topics include: aspnet-core, certificate, dotnet, mtls, pki.
Certificate Manager is a package which makes it easy to create certificates which can be used to in client server authentication and IoT Devices like Azure IoT Hub
| Build | Certificate Manager | |
|---|---|---|
| .NET Core |
========================
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.10" />
The NuGet packages uses dependency injection to setup. In a console application initialize the package as follows:
csharpvar serviceProvider = new ServiceCollection() .AddCertificateManager() .BuildServiceProvider();
Or in an ASP.NET Core application use the Startup ConfigureServices method to initialize the package.
csharpbuilder.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 IdentityServer 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
- signing a csr with root ca certificate
Microsoft Certificate Authentication Docs:
Read certificates and private keys from PEM files
https://github.com/oocx/ReadX509CertificateFromPem
Blogs
Contributors
Showing top 4 contributors by commit count.
