Skip to content

net/quinn: Fix generation of self signed certificate

The certificate chain was incorrectly being passed the private key instead of certificate. With rustls 0.23.11 version, this error was being caught and reported. As stated in the 0.23.11 release, it has a new feature

"API for determining whether a CertifiedKey's certificate and private key matches: keys_match(). This is called from existing fallible functions that accept a private key and certificate (for example, with_single_cert()) so these functions now detect this misconfiguration."

Merge request reports