home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / libio-socket-ssl-perl / debugging.txt < prev   
Encoding:
Text File  |  2009-01-22  |  924 b   |  26 lines

  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.  
  26.