File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
2323### Fixed
2424
25+ - ** ` rcgen ` 0.14 HTTP/3 dev certs** : ` generate_self_signed_cert ` uses ` CertifiedKey { cert, signing_key } ` so ` --all-features ` / ` http3-dev ` builds pass CI again.
2526- ** Security Audit** (` cargo audit ` ) passes on the current lockfile (no high-severity ` quick-xml ` advisories).
2627
2728## [ 0.1.551] - 2026-07-05
Original file line number Diff line number Diff line change @@ -411,9 +411,10 @@ impl Http3Server {
411411 ( CertificateDer < ' static > , PrivateKeyDer < ' static > ) ,
412412 Box < dyn std:: error:: Error + Send + Sync > ,
413413 > {
414- let cert = rcgen:: generate_simple_self_signed ( vec ! [ "localhost" . to_string( ) ] ) ?;
415- let key = PrivateKeyDer :: Pkcs8 ( cert. key_pair . serialize_der ( ) . into ( ) ) ;
416- let cert = CertificateDer :: from ( cert. cert . der ( ) . to_vec ( ) ) ;
414+ let rcgen:: CertifiedKey { cert, signing_key } =
415+ rcgen:: generate_simple_self_signed ( vec ! [ "localhost" . to_string( ) ] ) ?;
416+ let key = PrivateKeyDer :: Pkcs8 ( signing_key. serialize_der ( ) . into ( ) ) ;
417+ let cert = CertificateDer :: from ( cert. der ( ) . to_vec ( ) ) ;
417418
418419 Ok ( ( cert, key) )
419420 }
You can’t perform that action at this time.
0 commit comments