Skip to content

Instantly share code, notes, and snippets.

View skiptomyliu's full-sized avatar
🫐

Dean Liu skiptomyliu

🫐
View GitHub Profile
@skiptomyliu
skiptomyliu / LDAP JXplorer trust self signed certificate
Last active October 13, 2017 17:14 — forked from laszlomiklosik/LDAP JXplorer trust self signed certificate
LDAP JXplorer trust self signed certificate workaround
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
OR
Via JXPlorer UI, go to menu Security -> Trusted Servers and CAs. Import the new ldapserver.pem file. Default password "changeit"