Skip to content

Instantly share code, notes, and snippets.

@budiantoip
Last active March 1, 2024 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save budiantoip/69ade154e5c7c2f408107f7a2dae7fb8 to your computer and use it in GitHub Desktop.
Save budiantoip/69ade154e5c7c2f408107f7a2dae7fb8 to your computer and use it in GitHub Desktop.
How to update CA certificates

Ubuntu:

  • Copy the cert files to /etc/ssl/certs
  • Run update-ca-certificates

CentOS:

  1. Run update-ca-trust force-enable
  2. Copy CA certificate files to /etc/pki/ca-trust/source/anchors
  3. Run update-ca-trust
  4. Restart any web engine service

For cPanel:

  1. Copy CA certificate files to /etc/pki/tls/certs/
  2. Run service cpanel restart

References

Replacing a cPanel Intermediate Certificate

https://www.digicert.com/kb/ssl-support/cpanel.htm

How to add CA Certificates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment