Hello there,

I am agina answering myself, maybe somebody find this usefull. I made it
working without proxy. Throught proxy I am getting exeception can't tunnel
https request.

The problem with invalid certificate and solved by installing that
certificate (obtained as save from dialog in Internet explorer).

I install certificate following this advice found in java forum:


You have to install the certificate as a "trusted certificate". To do
this: obtain a .cer file with the public key. In general, I don't know how
you can do this (maybe using your web browser), but if you're accessing to
a tomcat with https of your own, and you've generated the certificate
using 'keytool' --see JDK tools documentation-- you can get it following
these steps: 1.- Export the certificate with keytool -export -alias
YourAlias -file AFile.cer 2.- Go to $JAVA_HOME/jre/lib/security 
3.- Import the certificate: keytool -import -keystore cacerts -storepass
changeit -alias AnotherAlias -file YourFile.cer 

P.S.: Anybody get experience https through proxy? Looks like https POST
request is problem. P.S.S.: Is anybody listening?

-- 

-richo-

Reply via email to