title: Importing Certificate to cacerts giving file I/O exception on Mac OS Mojave
body: <p>Hello I am trying to import a certificate into cacerts on Mac OSX Mojave 10.14.4. I am using OpenJDK if that makes any difference. </p>
  
  <p>My cert file is .p12. </p>
  
  <p>Here is the path I tried to take </p>
  
  <pre><code>keytool -import -alias nulogix -keystore $(/usr/libexec/java_home)/jre/lib/security/cacerts -file/Users/user/Desktop/cert.p12
  </code></pre>
  
  <p>This gave me an key tool error </p>
  
  <pre><code>keytool error: java.io.FileNotFoundException: /Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home/jre/lib/security/cacerts (No such file or directory)
  </code></pre>
  
  <p>What is the correct path? </p>