nimiq / core-rs

Official Rust implementation of the Nimiq protocol
https://nimiq.com
Other
74 stars 10 forks source link

Support loading PEM formatted certificates directly #41

Open jeffesquivels opened 4 years ago

jeffesquivels commented 4 years ago

Currently, we only support loading certificates (and private key) from a PKCS#12 file, but most certificate providers (including Let's Encrypt) issue their certificates in separate non-encrypted PEM formatted files, so it makes sense for us to support loading certificates this way too.

jgraef commented 4 years ago

From #40:

I don't think we can use PEM files for the TLS certificates as native_tls haven't finished that feature yet[1]

[1] sfackler/rust-native-tls#27

So let's keep an eye on that issue.