Difference between revisions of "Generate a CSR with SANs"
IVSWikiBlue (talk | contribs) (Created page with "==Issue certificate with a SAN== # Connect to the Valt appliance via SSH. # Type in the following, and press Enter: <pre>nano csr_details.conf</pre> # Copy and paste the follo...") |
(No difference)
|
Revision as of 09:02, 10 June 2022
Issue certificate with a SAN
- Connect to the Valt appliance via SSH.
- Type in the following, and press Enter:
nano csr_details.conf
- Copy and paste the following into nano:
[req] default_bits = 2048 prompt = no default_md = sha256 req_extensions = req_ext distinguished_name = dn [ dn ] C=US ST=New York L=Rochester O=End Point OU=Testing Domain emailAddress=your-administrative-address@your-awesome-existing-domain.com CN = www.your-new-domain.com [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = your-new-domain.com DNS.2 = www.your-new-domain.com
- Update the information to match your installation. This is the same information you would normally put in a CSR.
- Press Ctrl + X.
- Enter Y.
- Press Enter.
- Type in the following, and press Enter:
openssl req -new -sha256 -nodes -out your-new-domain.com.csr -newkey rsa:2048 -keyout your-new-domain.com.key -config csr_details.conf
- Make sure to update the CSR and key path for your installation.