How do you add a Certificate Authority (CA) to Ubuntu and RHEL?

When Ubuntu / RHEL packaged Java is used, the described mechanism takes care that the certificate is added to Java trust store too. In addition, added certificates are not lost when Java version is updated.

Ubuntu 18.04 / 20.04

Java's default trust store: /etc/ssl/certs/java/cacerts

RHEL 7 / 8

Java's default trust store: /etc/pki/java/cacerts

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues