...
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.
Note | ||
---|---|---|
When AdoptOpenJDK 8 is used instead of OpenJDK 8 the following steps must be completed: 1. Install "ca-certificates-java" -package. 2. Open "/etc/xroad/services/local.conf" file for editing and define a custom trust store by making changes on XROAD_PARAMS variable value.
3. Save the "/etc/xroad/services/local.conf" file after making the required changes. 4. Restart the X-Road services. |
Ubuntu 18.04 / 20.04
Info |
---|
Java's default trust store: |
Copy the
.crt
file (PEM) into the/usr/local/share/ca-certificates
folder.Run
"
"sudo update-ca-certificates
.
RHEL 7 / 8
Info |
---|
Java's default trust store: /etc/pki/java/cacerts |
Copy the
.crt
file (PEM or DER) into the/etc/pki/ca-trust/source/anchors
folder.Run
"
"sudo update-ca-trust extract
.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|