Have you tried that already:
http://groups.google.com/group/webinject/msg/5edfba7e42167093
especially setting HTTPS_DEBUG=100 for debugging and HTTPS_CA_FILE.
Bye,
Sven
No, the http.log is written by webinject itself. All the http/ssl stuff is
done by 3rd party modules. So i would assume the debug output is written
to STDERR.
<testcases repeat="1">
<case
id = "1"
description1 = "description"
description2 = "description2"
method = "get"
url = "https://www.openssl.org/"
verifyresponsecode = "200"
verifypositive = "Welcome to the OpenSSL Project"
/>
</testcases>
And run it with:
HTTPS_DEBUG=100 ./webinject.pl t/data/98-ssl.xml
I can see the ssl debug output in between the webinject output. Btw,
which version do you use?
Starting WebInject Engine (v1.70)...
-------------------------------------------------------
Test: t/data/98-ssl.xml - 1
Desc: description
Desc: description2
GET Request: https://www.openssl.org/
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server key exchange A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:SSLv3 read finished A
Verify Response Code: "200"
Passed HTTP Response Code Verification
Verify: 'Welcome to the OpenSSL Project'
Passed Positive Verification
TEST CASE PASSED
Response Time = 0.244 sec
-------------------------------------------------------
Start Time: Tue Dec 27 20:54:03 2011
Total Run Time: 0.338 seconds
Test Cases Run: 1
Test Cases Passed: 1
Test Cases Failed: 0
Verifications Passed: 2
Verifications Failed: 0
Hello Reece,Did you enable "use Crypt::SSLeay;" ?
I use version 1.57 and I use a clientcert with password and this works just fine.
Dirk
Verstuurd vanaf mijn iPhone
$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL";
$ENV{HTTPS_CA_FILE}= "/usr/local/nagios/libexec/ca.crt";$ENV{HTTPS_CERT_FILE} = "/usr/local/nagios/libexec/cert.pem";$ENV{HTTPS_KEY_FILE} = "/usr/local/nagios/libexec/key_nopw.pem";
--
You received this message because you are subscribed to the Google Groups "WebInject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webinject+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I am aware of Nagios plugin output length restrictions. Anyway it could be interesting to get custom messages for every critical cases but it's a bit dangerous to rely on users fingers :(. It would be necessary to check message length/syntax.