I needed to access my aging Dell PowerEdge R610 iDRAC console on my shiny new 13″ Macbook Pro M1. Unfortunately just like in Linux I ran into the “Connection failed” problem described in this post.
It was actually pretty easy to do for Mac. I installed the latest java for Mac from Oracle’s website. Once installed, I needed to find the location of the Java home directory for my mac. I found this stackoverflow discussion which directed me to use the /usr/libexec/java_home command.
Armed with that command in a subshell I was able to get to the file I wanted to edit:
sudo vim "$(/usr/libexec/java_home)/lib/security/java.security"
Once there I removed RC4 from the
jdk.tls.disabledAlgorithms
line. It worked! It was an easier process than on Linux or Windows.