Hi, I have been struggling with this problem for about a week now. 

I have a situation where I am a client and the SSL server is being managed
by a 3rd party. When i try to perform a SSL negotiation with the server
using the OpenSSL client using the following s_client function

openssl s_client -connect i5.paywide.nps.comm.com:9001 -CAfile
verisignVB.pem -cert L2009080526.crt -key L2009080526.key -debug -msg


What i am getting is 

>>> TLS 1.0 ChangeCipherSpec [length 0001]
    01
write to 0xa3efa8 [0xa4eb28] (6 bytes => 6 (0x6))
0000 - 14 03 01 00 01 01                                 ......
>>> TLS 1.0 Handshake [length 0010], Finished
    14 00 00 0c 06 5c ea 45 7d 4f b1 ed 57 7d 14 f7
write to 0xa3efa8 [0xa4eb28] (53 bytes => 53 (0x35))
0000 - 16 03 01 00 30 13 d5 7a-6f ce 34 35 a5 18 5b 8d   ....0..zo.45..[.
0010 - 11 ac 26 dd d1 f2 23 43-a0 70 b1 a9 86 3b f2 54   ..&...#C.p...;.T
0020 - 87 12 44 e8 a9 5e 25 3d-a2 4e 02 a1 c3 32 c1 d1   ..D..^%=.N...2..
0030 - f6 83 15 98 0d                                    .....
read from 0xa3efa8 [0xa459f8] (5 bytes => 5 (0x5))
0000 - 15 03 01 00 02                                    .....
read from 0xa3efa8 [0xa459fd] (2 bytes => 2 (0x2))
0000 - 02 30                                             .0
<<< TLS 1.0 Alert [length 0002], fatal unknown_ca
    02 30
684:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown
ca:.\ssl\s3_pkt.c:1053:SSL alert
 number 48
684:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
failure:.\ssl\s23_lib.c:188:


It is the final TLS ChangeCipherSpec message that the my client sends to the
server and the server rejects the connection. The certificate verification
both on the Server and Client seems to work. I used OpenSSL as well as MS
Windows to verify both the client and server certs with the CA and it seems
to be fine.

I have checked that the Time and Date on my Client device is correct. I have
no control over the server side but I was told that they are using it with a
different client cert and it is working.

Can someone help me on this?

Thanks in advance.

Jason Ting 


-- 
View this message in context: 
http://old.nabble.com/TLS-unknown_ca-alert-number-48-tp30303596p30303596.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to