ZeroSSL.API
0.3.6
See the version list below for details.
dotnet add package ZeroSSL.API --version 0.3.6
NuGet\Install-Package ZeroSSL.API -Version 0.3.6
<PackageReference Include="ZeroSSL.API" Version="0.3.6" />
paket add ZeroSSL.API --version 0.3.6
#r "nuget: ZeroSSL.API, 0.3.6"
// Install ZeroSSL.API as a Cake Addin #addin nuget:?package=ZeroSSL.API&version=0.3.6 // Install ZeroSSL.API as a Cake Tool #tool nuget:?package=ZeroSSL.API&version=0.3.6
Welcome to ZeroSSL.API
Library in .NET / C# that allows interacting with ZeroSSL APIs to manage certificates. Ideal for automating the creation and renewal of certificates without dealing with Let's Encrypt limits
Compatibility
This library is developed in .NET Standard 2.1 and is compatible with all .NET and .NET Core implementations (.NET Framework is not supported) , it can also be used in Console projects, Web API, Class Library and even with Blazor WASM.
.NET implementation | Version support |
---|---|
.NET and .NET Core | 3.0, 3.1, 5.0, 6.0, 7.0 |
Installation
To install you must go to Nuget package manager and search for "ZeroSSL.API" and then install.
NuGet Package
PM> Install-Package ZeroSSL.API
Create certificate
// First step is to instantiate the client and set the API key.
ZeroSslClient zeroSslClient = new ZeroSslClient("apiKey"));
// Domain to which the certificate will be added
string domain = "text.deployrise.com";
// We create the AsymmetricCipherKeyPair object that will generate the private and public key
AsymmetricCipherKeyPair asymmetricCipherKeyPair = zeroSslClient.Tools.GenerateRsaKeyPair();
// Then we proceed to create the certificate. If everything is correct, it will return an object of type Certificate
Certificate certificate = await zeroSslClient.Certificate.Create(domain, asymmetricCipherKeyPair);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
- Portable.BouncyCastle (>= 1.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.