Difference between revisions of "Generate a CSR with SANs"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Section | content = | {{Section | content = | ||
− | + | <ol> | |
− | + | <li> Connect to the Valt appliance via SSH</li> | |
− | + | <li> Type in the following, and press {{Keyboard | key = Enter}}</li> | |
− | + | <ul> | |
+ | <li>{{Code Block - Mini | text = <span class="code_regex">nano</span> <span class="code_file">csr_details.conf</span>}}</li> | ||
+ | </ul> | ||
+ | <li> Copy and paste the following into nano:</li> | ||
+ | {{Aside | content = Make sure to update the CSR with your information.}} | ||
<pre>[req] | <pre>[req] | ||
default_bits = 2048 | default_bits = 2048 | ||
Line 23: | Line 27: | ||
DNS.1 = your-new-domain.com | DNS.1 = your-new-domain.com | ||
DNS.2 = www.your-new-domain.com</pre> | DNS.2 = www.your-new-domain.com</pre> | ||
− | + | <li> Update the information to match your installation. This is the same information you would normally put in a CSR.</li> | |
− | + | <li> Press {{Keyboard | key = CTRL}} + {{Keyboard | key = X}}</li> | |
− | + | <li> Enter {{Keyboard | key = Y}}.</li> | |
− | + | <li> Press {{Keyboard | key = Enter}}.</li> | |
− | + | <li> Type in the following, and press {{Keyboard | key = Enter}}</li> | |
− | + | <ul> | |
− | + | <li>{{Code Block - Mini | text = <span class="code_regex">openssl</span> req -new -sha256 -nodes -out <span class="code_file">valt.csr</span> -newkey rsa:2048 -keyout <span class="code_file">valt.key</span> -config <span class="code_file">csr_details.conf</span>}}</li> | |
+ | </ul> | ||
+ | {{Aside | content = Make sure to update the CSR and key path for your installation.}} | ||
+ | </ol> | ||
}} | }} |