Hands-on task
openssl: CSR with SAN
Generate a private key and a certificate signing request (CSR) /root/req.csr for CN=shop.local with a subjectAltName field containing DNS:shop.local and DNS:www.shop.local.
There can be many names in a certificate, so they're described in a config: the template /root/shop.cnf is open in the Editor tab — fill in its sections and pass the config to openssl req. You can also do without a config, using command-line options.
- openssl
- csr
- subjectAltName
- pki
- certificate extensions
- openssl.cnf