Copy the default template of openssl.cnf to a writable location.
cp /usr/lib/ssl/openssl.cnf .
Uncomment the req_extensions = v3_req
req_extensions = v3_req # The extensions to add to a certificate request
Add subjectAltName to v3_req section
Copy the default template of openssl.cnf to a writable location.
cp /usr/lib/ssl/openssl.cnf .
Uncomment the req_extensions = v3_req
req_extensions = v3_req # The extensions to add to a certificate request
Add subjectAltName to v3_req section
| // extract all headers | |
| var headers = [] | |
| function walk (nodes) { | |
| nodes.forEach((node) => { | |
| var sub = Array.from(node.childNodes) | |
| if (sub.length) { | |
| walk(sub) | |
| } |