google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

Ruby CAS Client with Ruby 1.9.1 #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

The existing code base of Ruby CAS client is not compatible with Ruby 1.9.1 and 
When I test I got following error. 

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: 
certificate verify failed

I have modified the existing code base to overcome this issue. Please see the 
attached code. It works fine with Ruby 1.9.1

I have added http.verify_mode = OpenSSL::SSL::VERIFY_NONE and https.verify_mode 
= OpenSSL::SSL::VERIFY_NONE when create a http or https connection.

Regards,

Eranga

Original issue reported on code.google.com by era...@rcapl.com on 16 Sep 2010 at 12:11

Attachments:

GoogleCodeExporter commented 9 years ago
Good work, but can you do this the standard way via github? Makes tracking and 
applying patches a lot easier for me.

If not, I'll try to merge your patch manually at some point in the future.

Original comment by matt.zuk...@gmail.com on 16 Sep 2010 at 3:47