I need to add a trusted certificate into cacerts
on one of my servers.
I can see that it goes under $JAVA_HOME/jre/lib/security/
from other questions
But I also have a second cacerts
file, two locations are:
C:\Program Files\Java\jdk1.8.0_92\jre\lib\security
C:\Program Files\Java\jre1.8.0_92\lib\security
Up to now, I've been adding any certificates into both, which is probably not correct. Is it definitely the first option, and if so, what's the use of the second one?