修复bug

This commit is contained in:
wzj 2025-06-14 09:28:14 +08:00
parent 246f3ed82d
commit e38cf29bb4

2
app.py
View File

@ -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: