xcsh — Maintain
Maintain steps
Section titled “Maintain steps”Supply renewed <XCSH_RENEWED_CERT_FILE> and matching <XCSH_RENEWED_KEY_FILE> with the same key algorithm for a referenced certificate. Prepare the replacement and inspect its preview:
xcsh blindfold certificate --cert "$XCSH_RENEWED_CERT_FILE" --key "$XCSH_RENEWED_KEY_FILE" \ --name "$XCSH_CERT_NAME" -n "$XCSH_NAMESPACE" --output-file certificate2.json \ > certificate2-prepared.json 2> certificate2-prepared.errxcsh apply -f certificate2.json -n "$XCSH_NAMESPACE" --dry-run client -o json \ > certificate2-preview.json 2> certificate2-preview.errApply the replacement to the same name:
xcsh apply -f certificate2.json -n "$XCSH_NAMESPACE" -o json \ > certificate2-apply.json 2> certificate2-apply.errExpect updated; verify the served certificate at your endpoint after propagation.