Open BratSinot opened 1 year ago
I'm actually seeing the same issue and I think this code is the bad boy: https://github.com/sfackler/rust-native-tls/blob/8fa929d6c3fb7c7adfca9e0fdd6446f5dfb34f92/src/imp/openssl.rs#L174
I don't think a check is needed actually? Or at the very least it should allow for "EC" in there.
Greetings!
Extent of this: https://github.com/sfackler/rust-native-tls/issues/221
I got 2 keys: keys.tgz
If I try to use them, I got error. If I try convert
openssl pkcs8 -in server.pem -topk8 -nocrypt -outform pem -out new-server.pem
I got error. If I removeEC
from-----BEGIN EC PRIVATE KEY-----
everything work fine. But in Docker with musl target I got error.What I do wrong?