Page History
...
Generate Server certificate signed with Server CA private key
Generate private key (server.key) for the Chariot server using the command below.
Note openssl genrsa -out certs/server/server.key 2048
Generate a Certificate Signing Request (CSR) for the Chariot server using the command below. This command generates a new CSR named "server.csr’ using the RSA private key "server.key".
Code Block language text openssl req -new -key certs/server/server.key -out certs/server/server.csr
Note There are a number of fields associated with the creation of the certificate. The required fields are:
Country Name (2 letter code) []:
State or Province Name (full name) []:
Locality Name (eg, city) []:
Organization Name (eg, company) []:
Organizational Unit Name (eg, section) []: We set this as Chariot
Common Name (eg, fully qualified host name) []: We set this as the FQDN of the Chariot server
Email Address []:
Extra attributes to be sent with the certificate request are:
A challenge password []:
Sign the Server CSR with the Server CA using the command below. This command will sign the CSR "server.csr" with the Server CA certificate ‘serverCA.crt’ and RSA private key ‘serverCA.key’, creating a new X.509 certificate named ‘transmissionCA.crt’ valid for 3650 days (10 years). You will be required to enter the pass phrase associated with the private key file "serverCA.key".
Code Block language text openssl x509 -req -in certs/server/server.csr -CA ca/server/serverCA.crt -CAkey ca/server/serverCA.key -CAcreateserial -out certs/server/server.crt -days 365
You should now see the following files created:
You should now have the following files:
...