Skip to content

Instantly share code, notes, and snippets.

@cgorshing
Created July 8, 2014 17:08
Show Gist options
  • Save cgorshing/5a39e3fadaa1bd7a7f1e to your computer and use it in GitHub Desktop.
Save cgorshing/5a39e3fadaa1bd7a7f1e to your computer and use it in GitHub Desktop.
HttpsURLConnection.setDefaultSSLSocketFactory(MockHttpsServer.getClientSslContext().getSocketFactory());
//SSLContext.setDefault(sc);
server = new MockSalesforceApiServer(8090);
System.setProperty("javax.net.debug", "ssl");
@BeforeClass
public static void beforeClass() {
System.setProperty("javax.net.debug", "ssl");
MuleUrlStreamHandlerFactory.installUrlStreamHandlerFactory();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment