Hello,
I wanted to share a shell snippet to launch the Supermicro IPMIViewer without going through the Java Security Circus on OSX every *beep*ing time. I've tested this with an X11SSL-CF on OS X El Capitan.
It uses curl to submit credentials, grab a cookie, get the jnlp launcher and run it all in one go. You could even bundle it up as an app with the AppleScript Editor. Adjust where needed...
If you have a valid SSL certificate for your IMPI host, you can omit the -k option.
I wanted to share a shell snippet to launch the Supermicro IPMIViewer without going through the Java Security Circus on OSX every *beep*ing time. I've tested this with an X11SSL-CF on OS X El Capitan.
It uses curl to submit credentials, grab a cookie, get the jnlp launcher and run it all in one go. You could even bundle it up as an app with the AppleScript Editor. Adjust where needed...
If you have a valid SSL certificate for your IMPI host, you can omit the -k option.
Code:
IPMIHOST=YOURHOST USER=YOURUSER PASS=YOURPASS FN=$(mktemp) JAR=$(mktemp) && curl -q -s -k -c "${JAR}" -X POST --data "name=${USER}&pwd=${PASS}" "https://${IPMIHOST}/cgi/login.cgi" >/dev/null && curl -q -s -k -b "${JAR}" -o "${FN}" -X GET "https://${IPMIHOST}/cgi/url_redirect.cgi?url_name=ikvm&url_type=jwsk" && javaws "${FN}"