summaryrefslogtreecommitdiff
path: root/mini_httpd.cnf
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2018-11-15 15:59:16 +0000
committerDmitry Bogatov <KAction@debian.org>2018-11-15 15:59:16 +0000
commitf8fad52c70a50762444785c2cfdbf617d288684e (patch)
tree070222655bc999c7c39519114ab2436931276463 /mini_httpd.cnf
Import Upstream version 1.19
Diffstat (limited to 'mini_httpd.cnf')
-rw-r--r--mini_httpd.cnf39
1 files changed, 39 insertions, 0 deletions
diff --git a/mini_httpd.cnf b/mini_httpd.cnf
new file mode 100644
index 0000000..6d5fbc2
--- /dev/null
+++ b/mini_httpd.cnf
@@ -0,0 +1,39 @@
+# create RSA certs - Server
+
+RANDFILE = mini_httpd.rnd
+
+[ req ]
+default_bits = 1024
+encrypt_key = yes
+distinguished_name = req_dn
+x509_extensions = cert_type
+
+[ req_dn ]
+countryName = Country Name (2 letter code)
+countryName_default = PL
+countryName_min = 2
+countryName_max = 2
+
+stateOrProvinceName = State or Province Name (full name)
+stateOrProvinceName_default = Some-State
+
+localityName = Locality Name (eg, city)
+
+0.organizationName = Organization Name (eg, company)
+0.organizationName_default = Mini Webservice Ltd
+
+organizationalUnitName = Organizational Unit Name (eg, section)
+#organizationalUnitName_default =
+
+0.commonName = Common Name (FQDN of your server)
+
+# To create a certificate for more than one name uncomment:
+# 1.commonName = DNS alias of your server
+# 2.commonName = DNS alias of your server
+# ...
+# See http://home.netscape.com/eng/security/ssl_2.0_certificate.html
+# too see how Netscape understands commonName.
+
+[ cert_type ]
+nsCertType = server
+