Are you are encountering this error while attempting to install JRuby using RVM? And tearing your hair out?
OpenSSL::X509::StoreError: setting default path failed: Invalid keystore format
Here’s how to resolve it.
Add this to your .zshrc:
Then, you might need to also do the following:
$ sudo keytool -importcert -file cacert.pem -keystore /Library/Java/Home/lib/security/cacerts
It may ask you for a password. The default java keystore password is “changeit”.
I currently have a keystore, with a particular password that only I should know. I now need to give access to that…stackoverflow.com