...
Edit this file and for all entries in <angle brackets> enter your own data. Copy the modified file to /storage/nginx
and execute
To generate .key and .csr file:
Code Block | ||
---|---|---|
| ||
openssl req -new -sha256 -out patricia-edms.csr -config SAN_CERT.conf -keyout patricia-edms.key |
Replace patricia-edms.* with your chosen name; The hashing algorithm ('-sha256') can also be modified by choice.
This generates is a .key and .csr file. Send the .csr file to your CA for signing. In return, you will receive a certificate; place this in the same folder.
To generate only .csr file for an existing .key file, without altering old .key file:
Code Block | ||
---|---|---|
| ||
openssl req -new -sha256 -out patricia-edms.csr -config SAN_CERT.conf -key patricia-edms.key |
Replace patricia-edms.csr with your chosen name; Replace patricia-edms.key with your existing key file name; The hashing algorithm ('-sha256') can also be modified by choice.
This generates a .csr file. Send the .csr file to your CA for signing. In return, you will receive a certificate; place this in the same folder.
Either way, do Do NOT send the .key file. Make sure the key file kept secure; if your key file is shared, your security may be compromised.
...