From 248e7891bcb5034fd7761c48c30203f3a5c28181 Mon Sep 17 00:00:00 2001 From: hwang <470981832@qq.com> Date: Sun, 18 Jan 2026 18:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20server.cnf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.cnf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 server.cnf diff --git a/server.cnf b/server.cnf new file mode 100644 index 0000000..127c4c1 --- /dev/null +++ b/server.cnf @@ -0,0 +1,18 @@ +# minimum server certificate config. + +[req] +distinguished_name = req_distinguished_name +x509_extensions = v3_req +prompt = no + +[req_distinguished_name] +CN = My Server Cert + +[v3_req] +subjectAltName = @alt_names +keyUsage = critical, digitalSignature, keyEncipherment +extendedKeyUsage = serverAuth + +[alt_names] +DNS.1 = example.com +IP.1 = 1.1.1.1 \ No newline at end of file