On Fri, 2013-07-05 at 21:03 +0200, Ja kub wrote: > hallo, > > I want to connect to latest tomcat 7 with client auth required > (clientAuth="true"). > > I cannot do it neither with synch nor asynch httpClient. > > Are there any examples of https with client cert auth available ? > > I don't want to use system properties, I want to store client cert in file > and use mock/trustall trustmanager. I want to init them from java, like > below > > SSLContext context = SSLContext.getInstance("TLS"); > context.init(keyManagerFactory.getKeyManagers(), null, new SecureRandom()); > > I am interested in both async and sync client. > > Thx > Jakub
What's wrong with these examples? http://hc.apache.org/httpcomponents-client-ga/examples.html http://hc.apache.org/httpcomponents-asyncclient-dev/examples.html Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org