From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id DF78A1FF0E2 for ; Thu, 30 Jul 2026 15:32:26 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id DC38E21595; Thu, 30 Jul 2026 15:32:14 +0200 (CEST) From: Shannon Sterz To: pbs-devel@lists.proxmox.com Subject: [PATCH datacenter-manager 16/16] docs/certificates: use correct certificate file name Date: Thu, 30 Jul 2026 15:31:58 +0200 Message-ID: <20260730133158.418015-17-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260730133158.418015-1-s.sterz@proxmox.com> References: <20260730133158.418015-1-s.sterz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1785418314428 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.135 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: A2GLMP5C33RUI6UBO47JJXRBT2TK5LGA X-Message-ID-Hash: A2GLMP5C33RUI6UBO47JJXRBT2TK5LGA X-MailFrom: s.sterz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: instead of the hard-coded `proxy.pem` that is inaccurate by now. Signed-off-by: Shannon Sterz --- docs/certificate-management.rst | 5 +++-- server/src/auth/certs.rs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/certificate-management.rst b/docs/certificate-management.rst index 680d8af5..0a53b1df 100644 --- a/docs/certificate-management.rst +++ b/docs/certificate-management.rst @@ -320,8 +320,9 @@ logged: Apr 04 12:17:51 pdm proxmox-datacenter-manager-daily-update[1170]: Self-signed certificate is valid for an excessive amount of time. Please renew it. To manually renew a certificate, navigate to Configuration -> Certificates. -Select the certificate ``proxy.pem``. Then click the "Delete Custom -Certificate" button. Alternatively, you can run the following command: +Select the certificate ``/etc/proxmox-datacenter-manager/auth/api.pem``. Then +click the "Delete Custom Certificate" button. Alternatively, you can run the +following command: .. code-block:: shell diff --git a/server/src/auth/certs.rs b/server/src/auth/certs.rs index 4c7cafcb..c08ecb6c 100644 --- a/server/src/auth/certs.rs +++ b/server/src/auth/certs.rs @@ -50,7 +50,7 @@ pub(crate) fn set_api_certificate(cert_pem: &[u8], key_pem: &[u8]) -> Result<(), /// Get the certificate as bytes in PEM format. pub fn get_certificate_pem() -> Result, Error> { - let cert_pem = proxmox_sys::fs::file_get_contents("proxy.pem")?; + let cert_pem = proxmox_sys::fs::file_get_contents(API_CERT_FN)?; Ok(cert_pem) } -- 2.47.3