Debian lenny version packages
[pkg-perl] / deb-src / libio-socket-ssl-perl / libio-socket-ssl-perl-1.16 / docs / debugging.txt
1
2 - check that IO::Socket::SSL and Net::SSLeay are properly installed,
3   and that the versions are recently new:
4   perl -MIO::Socket::SSL -e 'print "$IO::Socket::SSL::VERSION\n"'
5   perl -MNet::SSLeay -e 'print "$Net::SSLeay::VERSION\n"'
6
7 - run the tests in IO::Socket::SSL directory
8   try running the tests with 'make test'. if some of the tests fail run
9   the scripts one by one e.g.:
10   perl -Ilib t/core.t
11
12 - try running the demos using the DEBUG option
13
14 - use the OpenSSL client and server for debugging the demo client and server.
15   'openssl s_client' and 'openssl s_server' against tests/demos
16   testing the demo server:
17   openssl s_client -connect localhost:9000 \
18           -key certs/client-key.pem -cert certs/client-cert.pem -verify 1
19   testing the demo client:
20   openssl s_server -accept 9000 \
21           -key certs/server-key.pem -cert certs/server-cert.pem -verify 1
22   also, try these commands without the verify argument.
23
24
25