Changes between Version 6 and Version 7 of NGINX Generate SSL Certificate
- Timestamp:
- 10/05/16 11:38:16 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NGINX Generate SSL Certificate
v6 v7 3 3 https://www.digicert.com/csr-creation-apache.htm 4 4 5 1. On the host VM create the following directory if not already present 6 7 {{{sudo mkdir share}}} 8 {{{sudo mkdir share/cert}}} 9 {{{sudo mkdir share/cert/live}}} 10 5 11 1. On the host VM run the following command : 6 12 13 {{{cd share/cert/live}}} 7 14 {{{sudo openssl req -new -newkey rsa:2048 -sha256 -nodes -keyout briccs.xuhl-tr.nhs.uk.key -out briccs.xuhl-tr.nhs.uk.csr}}} 8 15 9 Ensure that the prefix for the .key and .csr is you domain name.16 Ensure that the prefix for the .key and .csr is you '''domain name.''' 10 17 11 18 This command requires the following user input : … … 37 44 {{{-----}}} 38 45 39 {{{Country Name (2 letter code) [AU]: '''UK'''}}}46 {{{Country Name (2 letter code) [AU]:UK}}} 40 47 41 48 {{{State or Province Name (full name) [Some-State]:Leicestershire}}} … … 60 67 61 68 62 63 69 This command generates a .key and .csr 64 70 65 uhlbriccsext01.xuhl-tr.nhs.uk 66 67 sudo openssl req -new -newkey rsa:2048 -sha256 -nodes -keyout uhlbriccsext01.xuhl-tr.nhs.uk.key -out uhlbriccsext01.xuhl-tr.nhs.uk.csr 71 2. The csr has to be self signed by UHL certificate authority. To do this you have to send the text of the csr 68 72 69 73 send text of csr to Robert.Hallett@uhl-tr.nhs.uk