axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikrishna Kalavacharla" <sricreds...@hotmail.com>
Subject webservices over ssl
Date Thu, 24 Jun 2004 19:15:55 GMT
Hi,
I'm trying to access the web services hosted by our client.  We were 
provided a certificate to use while accessing the WSDL file.  I've installed 
this in my IE and is able to use it to view the WSDL file through the 
browser.  I've downloaded the WSDL file, created the stub files using 
WSDL2Java, exported the certificate from my IE and imported the certificate 
into a new keystore and finally using this keystore along with the apache 
axis client I wrote in Java to access their methods.

However it throws me the following error:

main, WRITE: TLSv1 Handshake, length = 157
SESSION KEYGEN:
PreMaster Secret:
0000: 03 01 9B 20 8D F1 37 2E   9C A6 53 0F 0A 8B 78 6F  ... ..7...S...xo
0010: D3 FC 00 C4 BA 92 14 F9   C2 0C 62 3E 3C 7E DC E0  ..........b><...
0020: 6A 48 BD C3 B1 26 77 F6   C3 C9 B1 5D E3 86 1E D8  jH...&w....]....
CONNECTION KEYGEN:
Client Nonce:
0000: 40 DB 25 79 53 61 42 CF   4D 53 91 C0 E3 7B B9 67  @.%ySaB.MS.....g
0010: 5E 9F 45 F5 6E 50 02 B1   F7 C7 CF B2 AC 73 80 19  ^.E.nP.......s..
Server Nonce:
0000: 40 DB 22 94 0D 6B 77 EF   9B 86 ED 81 23 A9 5B 59  @."..kw.....#.[Y
0010: 74 43 3A D6 5A 34 32 07   07 23 77 42 83 60 0B 54  tC:.Z42..#wB.`.T
Master Secret:
0000: B1 BD 4A 5F FF 97 88 83   A8 AE 4E F8 1E BF 2E 01  ..J_......N.....
0010: EE F0 4D FC 27 3D C0 DA   2E 00 B9 A6 A0 71 B4 B8  ..M.'=.......q..
0020: AC 9C 02 F0 D7 E5 F8 C6   7A EA A4 E9 5F 43 08 A6  ........z..._C..
Client MAC write Secret:
0000: 11 9A FD E3 75 48 DC DB   1E 1A 05 43 43 6E 69 1B  ....uH.....CCni.
Server MAC write Secret:
0000: 77 22 42 3C 9E A2 B3 88   49 7C 14 DF 72 D3 27 10  w"B<....I...r.'.
Client write key:
0000: 4A FE 10 7B DD A6 E6 A6   C7 DA 72 E2 F6 4D 6C B2  J.........r..Ml.
Server write key:
0000: DB FC 21 58 41 5E 34 12   9C 1C E5 96 15 D6 1C A5  ..!XA^4.........
... no IV for cipher
Plaintext before ENCRYPTION:  len = 17
0000: 01 9A D1 88 10 D3 1C 3A   42 11 A1 69 15 7F 4C 5E  .......:B..i..L^
0010: B2                                                 .
main, WRITE: TLSv1 Change Cipher Spec, length = 17
JsseJCE: Using JSSE internal implementation for cipher RC4
*** Finished
verify_data:  { 195, 68, 195, 221, 182, 202, 177, 83, 150, 25, 85, 44 }
***
[write] MD5 and SHA1 hashes:  len = 16
0000: 14 00 00 0C C3 44 C3 DD   B6 CA B1 53 96 19 55 2C  .....D.....S..U,
Plaintext before ENCRYPTION:  len = 32
0000: 14 00 00 0C C3 44 C3 DD   B6 CA B1 53 96 19 55 2C  .....D.....S..U,
0010: 9B 6C 0C 1B 31 4F E9 5B   87 A3 49 13 EE C2 8B 81  .l..1O.[..I.....
main, WRITE: TLSv1 Handshake, length = 32
main, READ: TLSv1 Alert, length = 18
Plaintext after DECRYPTION:  len = 18
0000: 02 28 71 50 A7 62 BB BA   D6 6B 03 1A B2 5C F9 A7  .(qP.b...k...\..
0010: FA 55                                              .U
main, RECV TLSv1 ALERT:  fatal, handshake_failure
%% Invalidated:  [Session-1, SSL_RSA_WITH_RC4_128_MD5]
main, called closeSocket()
main, handling exception: javax.net.ssl.SSLHandshakeException: Received 
fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: javax.net.ssl.SSLHandshakeException: Received fatal alert: 
handsha
ke_failure
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}stackTrace: 
javax.net.ssl.SSLHandshakeExcep
tion: Received fatal alert: handshake_failure
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
        at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at 
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPS
ender.java:506)
        at 
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)

        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)

Any ideas? what does "... no IV for cipher" means and how do I solve it?

Thanks
Srikrishna

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar  get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


Mime
View raw message