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: