From ce7a602d63e10dce6cf1fcb9a43beb7eae78aa71 Mon Sep 17 00:00:00 2001 From: wzj <244142824@qq.com> Date: Sat, 14 Jun 2025 10:46:08 +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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app.py b/app.py index 83726d1..ad91edd 100644 --- a/app.py +++ b/app.py @@ -204,6 +204,7 @@ def create_certificate(ca_id, common_name, san_dns, san_ip, organization, organi prompt = no default_md = sha256 distinguished_name = dn + req_extensions = req_ext [dn] CN = {common_name} @@ -212,6 +213,11 @@ def create_certificate(ca_id, common_name, san_dns, san_ip, organization, organi C = {country} ST = {state} L = {locality} + + [req_ext] + subjectAltName = @alt_names + + [alt_names] """ if san_dns or san_ip: