Skip to content

Instantly share code, notes, and snippets.

@northrup
Created October 3, 2015 19:56
Show Gist options
  • Save northrup/ec877dc73df44421c676 to your computer and use it in GitHub Desktop.
Save northrup/ec877dc73df44421c676 to your computer and use it in GitHub Desktop.
2 easy steps:
1) echo -n | openssl s_client -connect AD_SERVER:AD_SERVER_PORT | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ldapserver.pem
2) keytool -import -trustcacerts -file ldapserver.pem -alias ALIAS_GOES_HERE -keystore /Users/.../Apps/jxplorer-3.3.1-osx/jxplorer-3.3.1.app/Contents/Resources/security/cacerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment