Upload the new certificates

Learn how to upload the new certificates and keys after they are created.

Procedure

  1. Copy the PEG certificates that you created to the /peg_v/certs/ directory.
    Ensure that you name them according to the certificate file names in Table 1.
  2. If you also created your own keys, then copy the PEG keys that you created to the /peg_v/keys/ directory.
    Ensure that the keys are:
    • Not password protected
    • Named according to the certificate file names in Table 1
    Note: If you choose to have PEG generate the keys, then you do not need to perform this step. The PEG-generated keys are placed into a folder for you.
  3. To confirm that the certificates are valid run ~/peg/scripts/validatecerts.sh.
    Continue to Step 4 only if the script displays: All checks passed!
  4. To load the latest certificates, run the following command on PEG:
    kubectl rollout restart deployment.apps/traefik -n kube-system