File: debugging.txt

package info (click to toggle)
libio-socket-ssl-perl 2.002-2%2Bdeb8u3
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 1,348 kB
  • sloc: perl: 14,412; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

- check that IO::Socket::SSL and Net::SSLeay are properly installed,
  and that the versions are recently new:
  perl -MIO::Socket::SSL -e 'print "$IO::Socket::SSL::VERSION\n"'
  perl -MNet::SSLeay -e 'print "$Net::SSLeay::VERSION\n"'

- run the tests in IO::Socket::SSL directory
  try running the tests with 'make test'. if some of the tests fail run
  the scripts one by one e.g.:
  perl -Ilib t/core.t

- try running the demos using the DEBUG option

- use the OpenSSL client and server for debugging the demo client and server.
  'openssl s_client' and 'openssl s_server' against tests/demos
  testing the demo server:
  openssl s_client -connect localhost:9000 \
	  -key certs/client-key.pem -cert certs/client-cert.pem -verify 1
  testing the demo client:
  openssl s_server -accept 9000 \
	  -key certs/server-key.pem -cert certs/server-cert.pem -verify 1
  also, try these commands without the verify argument.