You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
226 B

3 years ago
use std::path::PathBuf;
fn main() {
let server_cert = PathBuf::from("../../certs/ca.crt");
if !server_cert.exists() {
3 years ago
panic!("CA certificate doesn't exist. Create it first with scripts/gen_certs.sh");
3 years ago
}
}