Wed Oct 22, 2008 1:21 am
Maybe someone can help me with some java stuff.
I'm using a java application to connect to an HTTPS site. My OS is linux.
Initially i have no certificate of the server, e.q.( a machine with IP
192.168.1.2).
I want to connect to that IP using https and acquire its certificate,
and just like
web browser, I need to prompt a dialog to either accept or cancel the
certificate.
Do you have any idea how to do?
Wed Oct 22, 2008 1:22 am
You can try this,
http://hc.apache.org/httpclient-3.x/sslguide.htmlUsing predefine protocol :
org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.