Upload the new certificates
- Updated: 2023/02/09
Learn how to upload the new certificates and keys after they are created.
Procedure
-
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.
-
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. -
To confirm that the certificates are valid run
~/peg/scripts/validatecerts.sh
.Continue to Step 4 only if the script displays: All checks passed! -
To load the latest certificates, run the following command on PEG:
kubectl rollout restart deployment.apps/traefik -n kube-system