-
Notifications
You must be signed in to change notification settings - Fork 0
ESGF CSR and Certificate Installation
If you want to install a commercial CA issued certificate:
esg-node --install-keypair
When prompted for the cachain file, specify the chain file provided by your CA
If you wish to generate CSRs for a simpleCA CA certificate and/or web container certificate:
esg-node --generate-esgf-csrs
If you wish to install ESGF certificates:
- untar the entire contents of the tarball you received from Nicolas/Prashanth into /etc/esgfcerts
- esg-node --install-local-certs
- If you also have locally issued certificates for the webcontainer:
esg-node --install-keypair /etc/esgfcerts/hostcert.pem /etc/esgfcerts/hostkey.pem
When prompted for the cachain file, specify /etc/esgfcerts/cachain.pem - If you have certificates for your webcontainer, issued by a commercial CA, ensure you have the following:
a) Certificate and key files.
b) CA chain file.
Ensure that your CA chain file is complete with this command:
openssl verify -verbose -purpose sslserver -CAfile
You should simply get a one line response that looks like this:
You can get this help text when you execute esg-node --cert-howto
Note: once you have a signed certificate for a node registered under a FQDN, it is valid for that FQDN until the expiry date. You may reuse the keypair (your private key and signed cert) even if you have to reinstall the node from scratch. However, you will need to generate a new CSR in advance of the certificates expiration or were to migrate your node installation to a different FQDN.