blob: f56faf45ed06e7e302844204ac932d2941f5136e [file] [log] [blame]
Alexf59c7392022-04-18 19:10:14 -05001# OpenSSL configuration file for creating a CSR for a server certificate
2# Adapt at least the FQDN and ORGNAME lines, and then run
3# openssl req -new -config myserver.cnf -keyout myserver.key -out myserver.csr
4# on the command line.
5
6# the fully qualified server (or service) name
7FQDN = mirantis.com
8
9# the name of your organization
10# (see also https://www.switch.ch/pki/participants/)
11ORGNAME = Mirantis Inc
12
13# subjectAltName entries: to add DNS aliases to the CSR, delete
14# the '#' character in the ALTNAMES line, and change the subsequent
15# 'DNS:' entries accordingly. Please note: all DNS names must
16# resolve to the same IP address as the FQDN.
17ALTNAMES = DNS:$FQDN # , DNS:bar.example.org , DNS:www.foo.example.org
18
19# --- no modifications required below ---
20[ req ]
21default_bits = 2048
22default_md = sha256
23prompt = no
24encrypt_key = no
25distinguished_name = dn
26req_extensions = req_ext
27
28[ dn ]
29C = CH
30O = $ORGNAME
31CN = $FQDN
32
33[ req_ext ]
34subjectAltName = $ALTNAMES