Hello,

 

I have a question about the apache SSL,please help me.

Thanks.(httpd-2.2.15-win32-x86-openssl-0.9.8m-r2.msi)

 
Operation:
1、I made a SSL certification files by myself, and start the openssl s_server;
OpenSSL> s_server -cert server.pem -key server_nokey.pem -accept 2222 -state 
-debug


2、Input the words in IE address bar;

https://localhost:2222/
 
Question:
>SSL_accept:SSLv3 write certificate A
>write to 0xa778c8 [0xa8ed20] (9 bytes => 9 (0x9))
>0000 - 16 03 01 00 04 0e                                 ......
>0009 - <SPACES/NULS>

I think the data from server is not the certification, but the key exchange.

Why? If I want to send the certificate, what I should to do? 

 

Thanks a lot.

 
The server side log is as following:
OpenSSL> s_server -cert server.pem -key server_nokey.pem -accept 2222 -state 
-debug
Loading 'screen' into random state - done
Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT
SSL_accept:before/accept initialization
read from 0xa778c8 [0xa84bc8] (11 bytes => 11 (0xB))
0000 - 16 03 01 00 61 01 00 00-5d 03 01                  ....a...]..
read from 0xa778c8 [0xa84bd3] (91 bytes => 91 (0x5B))
0000 - 4c 07 28 f1 fb 1a 4d 94-97 a4 31 5f 4e 1c 44 4c   L.(...M...1_N.DL
0010 - 40 7f 0a ff 62 9b 27 d3-f4 91 95 dd f6 83 c2 0a   @...b.'.........
0020 - 20 ea a0 5c 95 60 0c 13-50 75 5c ad 56 ee f4 81    ..\.`..Pu\.V...
0030 - 82 1c 1b b4 3b 35 27 7e-1b da 7e d6 b2 37 ef 96   ....;5'~..~..7..
0040 - 1b 00 16 00 04 00 05 00-0a 00 09 00 64 00 62 00   ............d.b.
0050 - 03 00 06 00 13 00 12 00-63 01                     ........c.
005b - <SPACES/NULS>
SSL_accept:SSLv3 read client hello A
write to 0xa778c8 [0xa8ed20] (79 bytes => 79 (0x4F))
0000 - 16 03 01 00 4a 02 00 00-46 03 01 4c 07 28 f1 93   ....J...F..L.(..
0010 - 4a ec f6 ef ec 06 23 f6-a7 87 33 3b 1e d9 8c 19   J.....#...3;....
0020 - 55 63 50 d8 c9 52 a5 88-3e f6 63 20 86 6f b0 93   UcP..R..>.c .o..
0030 - 70 36 32 a1 f1 92 6e 02-80 f6 27 a7 65 33 48 b1   p62...n...'.e3H.
0040 - 7a 6b c1 b5 2b 9e 93 b9-8e 56 37 47 00 04         zk..+....V7G..
004f - <SPACES/NULS>
SSL_accept:SSLv3 write server hello A
write to 0xa778c8 [0xa8ed20] (769 bytes => 769 (0x301))
........
SSL_accept:SSLv3 write certificate A
write to 0xa778c8 [0xa8ed20] (9 bytes => 9 (0x9))
0000 - 16 03 01 00 04 0e                                 ......
0009 - <SPACES/NULS>
SSL_accept:SSLv3 write server done A
SSL_accept:SSLv3 flush data
read from 0xa778c8 [0xa84bc8] (5 bytes => 5 (0x5))




                                          
_________________________________________________________________
USBメモリ代わりにお使いください。無料で使える25GB。
http://skydrive.live.com/?showunauth=1&mcid=HomeliveMerchBox1

Reply via email to