src/bin/proxmox-backup-manager.rs: add cli to generate proxy certificate

Without calling external openssl binary.
This commit is contained in:
Dietmar Maurer
2019-12-22 17:35:06 +01:00
parent 58e1051bc9
commit 550e0d8870
3 changed files with 159 additions and 2 deletions

View File

@ -16,7 +16,7 @@ use crate::api2::types::*;
static RESOLV_CONF_FN: &str = "/etc/resolv.conf";
fn read_etc_resolv_conf() -> Result<Value, Error> {
pub fn read_etc_resolv_conf() -> Result<Value, Error> {
let mut result = json!({});