# OpenSSL SSLError

**URL:** <https://www.ruby-forum.com/t/openssl-sslerror/51544>\
**Category:** Ruby\
**Created:** [January 2, 2006, 9:58pm UTC](https://www.ruby-forum.com/t/openssl-sslerror/51544 "2006-01-02T21:58:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Shadel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecc23a/32.png) [@Tim\_Shadel](https://www.ruby-forum.com/u/Tim_Shadel)\
**Post date:** [January 2, 2006, 9:58pm UTC](https://www.ruby-forum.com/t/openssl-sslerror/51544/1 "2006-01-02T21:58:41Z")

</div>

Hi. I’m trying to use OpenSSL, but I keep getting  
`OpenSSL::SSL::SSLError` whenever I call the `connect` method. So I  
tried running the OpenSSL tests. I’ve attached the stdout and stderr  
as `out.txt` and `err.txt`. Here’s some sample output, though:

```
ruby 1.8.4 (2005-12-24) [i386-mswin32]

test_post_connection_check(OpenSSL::TestSSL):
  OpenSSL::SSL::SSLError:
    ./test\openssl\test_ssl.rb:242:in `connect'
    ./test\openssl\test_ssl.rb:242:in `test_post_connection_check'
    ./test\openssl\test_ssl.rb:73:in `start_server'
    ./test\openssl\test_ssl.rb:239:in `test_post_connection_check'

```

It seems like OpenSSL must be misconfigured on my box (WinXP home,  
Ruby 1.8.4), but I’m really not sure where to look. I’ve read the  
docs, and searched everywhere I can think of, but there’s no  
indication on how to check the configuration. All the builtin tests  
give Errors. Any clues?

Thanks,

Tim
