Skip to content

Commit

Permalink
Add example of generating a new CA and a new server cert signed by th…
Browse files Browse the repository at this point in the history
…at CA, resolving rustls#79
  • Loading branch information
iamjpotts committed Aug 24, 2023
1 parent d540717 commit 1c6f6d6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions examples/auto-gen-ca-and-server-tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@
//! This doesn't start a network service (not even on localhost).
//! Instead, it creates an in-memory TLS server and an in-memory
//! TLS client in two separate threads in the same process.
//!
//! This example has the same author as a similar test in
//! https://github.com/iamjpotts/demo_docker_registry_auto_gen_tls/blob/31c85aa06a87a8dbebc457af9b5998038e2daaa2/tests/test_utils/cert_gen.rs
//! which does not have a license.
//!
//! This example auto-gen-ca-and-server-tls is contributed by
//! the same author into rcgen according to the rcgen license:
//!
//! "MIT or Apache License 2.0, at your option."
//!

use std::error::Error;
use std::io;
Expand Down

0 comments on commit 1c6f6d6

Please sign in to comment.