added: include serial
This commit is contained in:
parent
bccaa6935f
commit
4ff3cbe9d9
@ -292,9 +292,10 @@ impl From<&Certificate> for CertInfo {
|
||||
.join(" ");
|
||||
let opts = opts.trim();
|
||||
let renew_command = format!(
|
||||
"ssh-keygen -s ./ca_key {host_key} -I {} -n {} -V {:#x}:{:#x} {opts} {}.pub",
|
||||
"ssh-keygen -s ./ca_key {host_key} -I {} -n {} -z {} -V {:#x}:{:#x} {opts} {}.pub",
|
||||
escape(cert.key_id().into()),
|
||||
escape(cert.valid_principals().join(",").into()),
|
||||
cert.serial() + 1,
|
||||
cert.valid_after(),
|
||||
expiry_date.as_secs(),
|
||||
escape(cert.key_id().into())
|
||||
|
Loading…
x
Reference in New Issue
Block a user