I’m trying to run an app developed with actix-web and rustls but I get panic:
thread 'main' panicked at 'assertion failed: index < len', src/liballoc/vec.rs:9
maybe I created the cert wrong:
openssl genrsa 2048 > key.pem
openssl req -x509 -days 1000 -new -key key.pem -out cert.pem
This is my main.rs file
I think maybe the issue is regarding with rustls.