Curl-loader certificate handling [SEC=UNCLASSIFIED]
Status: Alpha
Brought to you by:
coroberti
From: Ivor O. <ivo...@co...> - 2009-02-09 23:44:26
|
Security:[SEC=UNCLASSIFIED] Hi, I was hoping to find a way to use curl-loader for load testing https websites that have a "testing" server certificate. ie. the server certificate is self generated with no valid or trusted root CA. This can be achieved in curl with the -k or --insecure option which ignores CA confirmation. Is there a way to trigger this option in curl-loader? I have run the same URL in curl with the -k option and can access it with no problem. However curl-loader will not access the site. (Works fine for non-ssl sites) Curl and Curl-loader appear to use the same libraries: - oracle@cedar-dev:~/curl-loader-0.46> ldd curl-loader linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7f6f000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7f5a000) librt.so.1 => /lib/librt.so.1 (0xb7f51000) libz.so.1 => /lib/libz.so.1 (0xb7f3f000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f01000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dd9000) libc.so.6 => /lib/libc.so.6 (0xb7cb7000) /lib/ld-linux.so.2 (0xb7f89000) oracle@cedar-dev:~/curl-loader-0.46> which curl /usr/bin/curl oracle@cedar-dev:~/curl-loader-0.46> ldd /usr/bin/curl linux-gate.so.1 => (0xffffe000) libcurl.so.3 => /usr/lib/libcurl.so.3 (0xb7f7e000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb7f4e000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f11000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7de9000) libdl.so.2 => /lib/libdl.so.2 (0xb7de4000) libz.so.1 => /lib/libz.so.1 (0xb7dd2000) libc.so.6 => /lib/libc.so.6 (0xb7cb0000) /lib/ld-linux.so.2 (0xb7fc8000) Curl-loader gets a timeout condition as below:- cedar-dev:/apps/oracle/curl-loader-0.46 # more login_uas_logoff_cycling.log 0 1 (194.90.71.215) :== Info: About to connect() to pssamembersuat.comsuper.gov .au port 443 (#0) : eff-url: , url: 0 1 (194.90.71.215) :== Info: Trying 152.91.36.101... : eff-url: , url: 0 1 (194.90.71.215) :== Info: Bind local address to 194.90.71.215 : eff-url: , url: 0 1 (194.90.71.215) :== Info: Local port: 45786 : eff-url: , url: 0 1 (194.90.71.215) !! ERROR: Connection time-out : eff-url: , url: 0 1 (194.90.71.215) :== Info: Closing connection #0 : eff-url: , url: cedar-dev:/apps/oracle/curl-loader-0.46 # Conf file is: ########### GENERAL SECTION ################################ BATCH_NAME=login_uas_logoff_cycling CLIENTS_NUM_MAX = 1 INTERFACE=eth1 NETMASK=24 IP_ADDR_MIN=194.90.71.215 IP_ADDR_MAX=194.90.71.216 CYCLES_NUM= 1 URLS_NUM=2 ########### URL SECTION ################################## ### Login URL - only once for each client # GET-part URL= https://pssamembersuat.comsuper.gov.au/ICSLogin/?"https://pssamembersuat.co msuper.gov.au/comsuper_uat/members/login/_ac_login_p1/AC/_pid/login_p1?action=lo gin" URL_SHORT_NAME="Login-GET" URL_DONT_CYCLE = 1 REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 # In msec. Now it is enforced by cancelling url fetch o n timeout TIMER_AFTER_URL_SLEEP =0 # POST-part URL="" URL_USE_CURRENT= 1 URL_SHORT_NAME="Login-POST" URL_DONT_CYCLE = 1 USERNAME=100000001614011961 PASSWORD=123123 REQUEST_TYPE=POST FORM_USAGE_TYPE= SINGLE_USER FORM_STRING= username=%s&password=%s # Means the same credentials for all client s/users TIMER_URL_COMPLETION = 0 # In msec. Now it is enforced by cancelling url fetch o n timeout TIMER_AFTER_URL_SLEEP =500 Any help would be appreciated. Ivor |