Hi All,

been googling, trying things out and stuff for a week now on SSL but still no success... I need help an fast.
Our server operator emailed me a couple of weeks ago with the following files for SSL

.crt, csr, .key, .p12
an password  = XXXMMXXX
a p12 export key = SomeExportKey

Since all I know is to use .CRT to generate a keystore, I did this..

keytool -import -keystore /home/ice/ion.keystore -alias iondev -file /home/ice/ion.mtna.crt

thus i got a keystore, ion.keystore.

but when I did this...

java -Djavax.net.ssl.trustStore=/home/ice/ion.keystore -Djavax.net.ssl.trustStorePassword=XXXMMXXX -classpath axis.jar:commons-logging-1.0.4.jar:commons-discovery-0.2.jar:jaxrpc.jar:saaj.jar:activation.jar:mail.jar:wsdl4j-1.5.1.jar  org.apache.axis.wsdl.WSDL2Java --testCase --output ebb/src --verbose  https://<some ip address>:7002/MTB_
TPGW/WS/Billing/ServiceGateway.jws?WSDL

and

java -Djavax.net.ssl.trustStore=/home/ice/ion.keystore -classpath axis.jar:commons-logging-1.0.4.jar:commons-discovery-0.2.jar:jaxrpc.jar:saaj.jar:activation.jar:mail.jar:wsdl4j-1.5.1.jar  org.apache.axis.wsdl.WSDL2Java --testCase --output ebb/src --verbose  https://<some ip address>:7002/MTB_
TPGW/WS/Billing/ServiceGateway.jws?WSDL

that tries to connect to the server over SSL, I get a

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j (DashoA12275)

 help me please!...

 i'm thinking that those other files given to me are to be used... but how?

I don't even know what the p12 export key is for?

Thank you all in advance.

Ice

Reply via email to