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 4DE821FF126 for ; Wed, 05 Aug 2026 17:53:59 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 7404321B3C; Wed, 05 Aug 2026 17:53:39 +0200 (CEST) From: Shannon Sterz To: pbs-devel@lists.proxmox.com Subject: [PATCH datacenter-manager v3 16/16] docs/certificates: use correct certificate file name Date: Wed, 5 Aug 2026 17:53:09 +0200 Message-ID: <20260805155308.519896-18-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260805155308.519896-2-s.sterz@proxmox.com> References: <20260805155308.519896-2-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: 1785945199694 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.102 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: ANFCUN2QQRFJTOOKAJR7YASPLONJHRGU X-Message-ID-Hash: ANFCUN2QQRFJTOOKAJR7YASPLONJHRGU 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 9a632118..c85fafef 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 97ee714d..c08ecb6c 100644 --- a/server/src/auth/certs.rs +++ b/server/src/auth/certs.rs @@ -57,5 +57,5 @@ pub fn get_certificate_pem() -> Result, Error> { /// Get the `CertificateInfo` struct for the current certificate. pub fn get_certificate_info() -> Result { let cert_pem = get_certificate_pem()?; - CertificateInfo::from_pem("proxy.pem", &cert_pem) + CertificateInfo::from_pem(API_CERT_FN, &cert_pem) } -- 2.47.3