icerpc / icerpc-csharp

A C# RPC framework built for QUIC, with bidirectional streaming, first-class async/await, and Protobuf support.
https://docs.icerpc.dev
Apache License 2.0
102 stars 13 forks source link

Do not use deprecated certificate constructor #4030

Closed pepone closed 2 weeks ago

pepone commented 2 weeks ago

This PR fixes CI failures related to use the deprecated X509Certificate2 constructor.

It uses the new X509CertificateLoader which is part of .NET 9 and available for .NET 8 in Microsoft.Bcl.Cryptography NuGet package.