Forum Discussion
boo_radley_1114
Nimbostratus
Sep 23, 2013Handling self-signed certs with java and iControl
Hi folks -- I'd like to write a couple simple java classes to automate some tasks in our F5 LTM (such as enabling/disabling certain nodes).
To get started I downloaded iControlAssembly_11_3_0-Ja...
Jeff_41325
Nimbostratus
Sep 23, 2013Another hack is to override the https implementation to not check the cert. Some of these functions are deprecated...
Protocol easyhttps = null;
try {
easyhttps = new Protocol("https", new EasySSLProtocolSocketFactory(), 443);
}
catch (GeneralSecurityException e1) {
throw new AsmAccessException(e1.getMessage(),e1);
}
catch (IOException e1) {
throw new AsmAccessException(e1.getMessage(),e1);
}
Protocol.registerProtocol("https", easyhttps);
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
