before pfx
This commit is contained in:
parent
aaf8e90b57
commit
0fb03f5815
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
/target
|
||||
Cargo.lock
|
||||
*.pem
|
||||
*.crt
|
||||
*.key
|
@ -85,9 +85,9 @@ async fn main() -> std::io::Result<()> {
|
||||
println!("Starting!!!");
|
||||
// Load key files
|
||||
let cert_file = &mut BufReader::new(
|
||||
File::open("cert.pem").unwrap());
|
||||
File::open("out_server.crt").unwrap());
|
||||
let key_file = &mut BufReader::new(
|
||||
File::open("key.pem").unwrap());
|
||||
File::open("rootCA.key").unwrap());
|
||||
|
||||
// Parse the certificate and set it in the configuration
|
||||
let cert_chain = certs(cert_file).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user