SSL::SSL::SSLError at /auth/facebook/

Asp.net Tools
SSL::SSL::SSLError at /auth/facebook/

This is the error which i face a problem while i am trying to signin to facebook through my rails application using OmniAuth.And my Rails version is 3.1.0

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