How can I persist certificates in Java's cacerts?
Posted
by
Alan Spark
on Server Fault
See other posts from Server Fault
or by Alan Spark
Published on 2012-09-17T09:58:02Z
Indexed on
2012/09/17
21:41 UTC
Read the original article
Hit count: 228
We need to have a certificate in Java's cacerts keystore for one of our servers that is authenticated by LDAP. We are using Ubuntu server.
We have successfully done this by updating the cacerts file in /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/security but occasionally a Java update is installed and the cacerts file seems to be getting replaced by a default one that doesn't contain our changes.
This doesn't happen very often but it is becoming a bit of a pain when it does happen. Is there a better way of adding things to cacerts so that they don't get lost when a Java update happens?
Thanks, Alan
© Server Fault or respective owner