From e38cf29bb4f20be2f61d0f4340e43b98f271ab3a Mon Sep 17 00:00:00 2001 From: wzj <244142824@qq.com> Date: Sat, 14 Jun 2025 09:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e94d3c7..81b17bf 100644 --- a/app.py +++ b/app.py @@ -930,7 +930,7 @@ def export_certificate_view(cert_id): # 添加证书文件 with open(cert['cert_path'], 'r') as f: cert_content = f.read() - zf.writestr(f"{cert['common_name']}.crt", cert_content) + zf.writestr(f"{cert['common_name']}.pem", cert_content) # 添加私钥文件 with open(cert['key_path'], 'r') as f: