Changes between Version 1 and Version 2 of NGINX Generate SSL Certificate


Ignore:
Timestamp:
10/05/16 11:25:47 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NGINX Generate SSL Certificate

    v1 v2  
     1This website details the process of creating a certificate
     2
    13https://www.digicert.com/csr-creation-apache.htm
    24
    3 run the command :
     51. On the host VM run the following command :
    46
    5 sudo openssl req -new -newkey rsa:2048 -sha256 -nodes -keyout briccs.xuhl-tr.nhs.uk.key -out briccs.xuhl-tr.nhs.uk.csr
     7    {{{sudo openssl req -new -newkey rsa:2048 -sha256 -nodes -keyout briccs.xuhl-tr.nhs.uk.key -out briccs.xuhl-tr.nhs.uk.csr}}}
    68
    7 this generates a key and csr
     9Ensure that the prefix for the .key and .csr is you domain name.
     10
     11This command requires the following user input :
     12
     13{{{#!rst
     14
     15.. code-block:: python
     16
     17Generating a 2048 bit RSA private key
     18........+++
     19.................................+++
     20writing new private key to 'uhlbriccsext01.xuhl-tr.nhs.uk.key'
     21-----
     22You are about to be asked to enter information that will be incorporated
     23into your certificate request.
     24What you are about to enter is what is called a Distinguished Name or a DN.
     25There are quite a few fields but you can leave some blank
     26For some fields there will be a default value,
     27If you enter '.', the field will be left blank.
     28-----
     29Country Name (2 letter code) [AU]:UK
     30State or Province Name (full name) [Some-State]:Leicestershire
     31Locality Name (eg, city) []:Leicester
     32Organization Name (eg, company) [Internet Widgits Pty Ltd]:University Hospitals of Leicester NHS Trust
     33Organizational Unit Name (eg, section) []:Cardiovascular
     34Common Name (e.g. server FQDN or YOUR name) []:uhlbriccsext01.xuhl-tr.nhs.uk
     35Email Address []:
     36
     37Please enter the following 'extra' attributes
     38to be sent with your certificate request
     39A challenge password []: Pa55word
     40An optional company name []:
     41
     42}}}
     43
     44This command generates a .key and .csr
     45
     46uhlbriccsext01.xuhl-tr.nhs.uk
     47
     48sudo openssl req -new -newkey rsa:2048 -sha256 -nodes -keyout uhlbriccsext01.xuhl-tr.nhs.uk.key -out uhlbriccsext01.xuhl-tr.nhs.uk.csr
    849
    950send text of csr to Robert.Hallett@uhl-tr.nhs.uk