feat: issue certificate success
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user