I need to generate a cert and can't find this directory. Thanks!
In macOS, the JRE installation path is /Library/Internet Plug-Ins/JavaAppletPlugin. plugin/Contents/Home/ . The root directory of the JRE software installation. This directory contains README, and other JRE folders.
Navigate to the security folder, /<JRE>/lib/security. The java. security file is listed in the security folder.
A certificates file named cacerts resides in the security properties directory, java. home \lib\security, where java. home is the runtime environment directory (the jre directory in the SDK or the top-level directory of the Java™ 2 Runtime Environment).
The location I've found on MacOS Mojave with jre 1.8.0 is:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security
I was not trying to do any Java certificate-store stuff but needed to tweak some security settings for an applet.
Also, can you believe it's 2019 and we're still messing with this crap? ;)
On Mavericks (OS X 10.10) with Oracle Java 8, it appears to be:
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/security
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With