nuxeo / FunkLoad

Functional and load testing framework for web applications, written in Python
http://funkload.nuxeo.org/
GNU General Public License v2.0
382 stars 83 forks source link

sslv3 alert handshake failure #54

Open rashimo opened 12 years ago

rashimo commented 12 years ago

Hello,

I am testing an SSL based web application. I use self signed certificates and everything works well. I am trying to write an test with help of Funkload, so I use the

setKeyAndCertificateFile(keyfile_path, certfile_path)

method. The code looks something like this:

def setUp(self): """Setting up test.""" self.logd("setUp") self.server_url = self.conf_get('main', 'url') self.setKeyAndCertificateFile('client.key','client.crt')

The .key and .crt file were created with openssl and were signed with ca.crt (which also I created with openssl). The certs are pem formated. I instructed the apache server to trust certificates signed with ca.crt.

As I mentioned in browser everything works fine, but with Funkload I get an ssl handshake error exception.

SSLError: [Errno 1] _ssl.c:480: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

Is this an issue or am I missing something?