-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hey, great tool! I'm getting a crash when I run on fedora, seems the cert is too small:
Serving [...] at [ https://localhost:8080 ] or [ http://localhost:8080 ]
Automatic reloading is enabled!
Stop with Ctrl+C
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Normal(ErrorStack([Error { code: 336245135, library: "SSL routines", function: "SSL_CTX_use_certificate", reason: "ee key too small", file: "ssl/ssl_rsa.c", line: 301 }]))', /home/arlyon/.cargo/registry/src/github.com-1ecc6299db9ec823/devserver_lib-0.1.7/src/lib.rs:121:47
stack backtrace:
0: rust_begin_unwind
at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
1: core::panicking::panic_fmt
at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
2: core::option::expect_none_failed
at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1221
3: devserver_lib::run
4: devserver::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Here's the failing line:
devserver/devserver_lib/src/lib.rs
Line 121 in c982726
| let acceptor = TlsAcceptor::new(identity).unwrap(); |
Should we regenerate and bundle a new cert? Seems the error happens when using keys equal or less than 2048 in length
olivereanderson and alexnikolis
Metadata
Metadata
Assignees
Labels
No labels