ERROR -- : OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=SSLv3 read client certificate

Where are you seeing that error message?

It looks like the server is trying to verify the client’s certificate. What file are you pointing to on the server for that? Does the file exist? Does it contain your client certificate?