-
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
Hello!
When I try to start the embedded server using PKCS#1 formatted PEM certificates like this:
server = Server(
app,
address="0.0.0.0",
port=8000,
interface=Interfaces.ASGI,
ssl_cert=self.cert_file_path(),
ssl_key=self.key_file_path(),
ssl_key_password=<password>,
)The server crashes with:
thread '<unnamed>' (127691) panicked at src/tls.rs:76:22:
I tried the same, but using PKCS#8 format - it works fine.
Is it deliberate decision not to support PKCS#1 format? I do understand PKCS#1 is somewhat legacy, though I did not found any information whether granian does or does not support PKCS#1 by design.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels