Closed admalledd closed 2 years ago
The problem is, certificate strings start with ---BEGIN CERTIFICATE---
which is not Base64, so it will throw errors
The issue mentioned provides a certificate in a different format that's the reason it does not work
per https://github.com/dotnet/runtime/issues/47005
Using
Convert.FromBase64()
instead of the method inStringFromByteArray