v0.25.5
This commit is contained in:
1 parent
1dea7f55c8
commit
c819f0a335
151 files changed
+7610
-4264
No files matched your search
+12
-3
@@ -72,8 +72,17 @@ impl Manager {
|
||||
id: format!("{:032x}", rand::random::<u128>()),
|
||||
certificate_id: cert.id.clone(),
|
||||
status: "running",
|
||||
kind: if dry_run { "renewal-dry-run" } else { "renewal" },
|
||||
log_directory: certbot_log_directory(&directory, &issuer.provider, &issuer.environment, &cert.id),
|
||||
kind: if dry_run {
|
||||
"renewal-dry-run"
|
||||
} else {
|
||||
"renewal"
|
||||
},
|
||||
log_directory: certbot_log_directory(
|
||||
&directory,
|
||||
&issuer.provider,
|
||||
&issuer.environment,
|
||||
&cert.id,
|
||||
),
|
||||
provider: issuer.provider.clone(),
|
||||
domains,
|
||||
environment: issuer.environment.clone(),
|
||||
@@ -109,7 +118,7 @@ impl Manager {
|
||||
.await
|
||||
.map_err(|_| ApiError(StatusCode::CONFLICT, "acme.secret_missing".into()))?;
|
||||
request["credential_ini_b64"] = Value::String(
|
||||
base64::engine::general_purpose::STANDARD.encode(credential.as_slice())
|
||||
base64::engine::general_purpose::STANDARD.encode(credential.as_slice()),
|
||||
);
|
||||
}
|
||||
let raw = Zeroizing::new(request.to_string());
|
||||
|
||||
Reference in new issue
Block a user