From b794f84da1aaf446a3965f9b9363f997b3183872 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 05:53:11 +0200 Subject: Initial configuration --- certs/localhost.conf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 certs/localhost.conf (limited to 'certs/localhost.conf') diff --git a/certs/localhost.conf b/certs/localhost.conf new file mode 100644 index 0000000..02cfc8b --- /dev/null +++ b/certs/localhost.conf @@ -0,0 +1,31 @@ +[req] +default_bits = 2048 +default_keyfile = localhost.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = DE +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = BW +localityName = Locality Name (eg, city) +localityName_default = Karlsruhe +organizationName = Organization Name (eg, company) +organizationName_default = IPE +organizationalUnitName = organizationalunit +organizationalUnitName_default = PDV +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = localhost +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = localhost +DNS.2 = 127.0.0.1 -- cgit v1.2.3