iguanaTLS
iguanaTLS copied to clipboard
MalformedDER error from CertificateChain.from_pem
With this PEM file and the following code, I get a MalformedDER error.
var reader = std.io.fixedBufferStream(
@embedFile("/etc/ssl/certs/ca-certificates.crt"),
).reader();
const trust = try tls.x509.CertificateChain.from_pem(alloc, reader);
Tell me if you want/need any other information.