feat: issue certificate success

This commit is contained in:
2024-03-30 11:07:17 +08:00
parent 7281637722
commit 4aaec3aa95
5 changed files with 368 additions and 66 deletions

View File

@@ -8,11 +8,13 @@ use structopt::StructOpt;
mod app;
mod service;
mod main2;
mod cert;
pub fn main() {
init_logger();
main2::test_main();
let cert = cert::issue_certificate("example.com");
println!("{:#?}", cert);
println!("{}", cert.cert_pem);
panic!("END");
let opt = Some(Opt::from_args());