Open benzwt opened 7 months ago
This is still an issue as it seems. I've read through some source code, and it seems that warp
uses PKCS8 only, which is fine by itself, but should be documented, as this is different from other crates, for example rustls
, which accepted my EC KEY. Your EC PRIVATE KEY can be converted to a PKCS8 conform key with the following openssl
command:
openssl pkcs8 -topk8 -nocrypt -in private.pem -out newpriv.pem
With a PKCS8 conform key, warp succeeds in starting the server.
Version warp v0.3.6
Platform Linux Office 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Description
[short summary of the bug] I ran the tls.rs example. Things were fine for rsa key. While using ecc key which came with the examples, I got
[code sample that causes the bug]
I expected to see this happen: [explanation]
Instead, this happened: [explanation] I got
full backtrace log