SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos

View: New views
4 Messages — Rating Filter:   Alert me  

SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos

by Tim Hatton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am trying to use the eCos port of openssl from ftp://ftp.ecoscentric.com/pub/contrib/openssl-1.9.6b.epk and I am running into a very fundamental problem.

When I try to create an SSL context with

                SSL_CTX* ctx=SSL_CTX_new(SSLv3_method());

I get error SSL_R_LIBRARY_HAS_NO_CIPHERS. I have developed code which works on cygwin (albeit with a more current version of openssl) and it works but I seem to fall at the 1st hurdle with the eCos version. Since the error is so basic I'm hoping it is just some extra initialisation I need to do with this older openssl library but I haven't been able to find any information on it yet. If anyone has been down this path before I'd be very grateful for any assistance,
Thanks
Tim

Parent Message unknown RE: SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos

by Chris Zimman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you call OpenSSL_add_all_ciphers() beforehand?

--Chris

-----Original Message-----
From: ecos-discuss-owner@...
[mailto:ecos-discuss-owner@...] On Behalf Of Tim Hatton
Sent: 30 November 2006 10:37
To: ecos-discuss@...
Subject: [ECOS] SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos


Hi,
I am trying to use the eCos port of openssl from
ftp://ftp.ecoscentric.com/pub/contrib/openssl-1.9.6b.epk and I am
running
into a very fundamental problem.

When I try to create an SSL context with

                SSL_CTX* ctx=SSL_CTX_new(SSLv3_method());

I get error SSL_R_LIBRARY_HAS_NO_CIPHERS. I have developed code which
works
on cygwin (albeit with a more current version of openssl) and it works
but I
seem to fall at the 1st hurdle with the eCos version. Since the error is
so
basic I'm hoping it is just some extra initialisation I need to do with
this
older openssl library but I haven't been able to find any information on
it
yet. If anyone has been down this path before I'd be very grateful for
any
assistance,
Thanks
Tim
--
View this message in context:
http://www.nabble.com/SSL_R_LIBRARY_HAS_NO_CIPHERS-error-with-openssl-in
-eCos-tf2730854.html#a7617030
Sent from the Sourceware - ecos-discuss mailing list archive at
Nabble.com.


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Re: SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos

by Andrew Lunn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 30, 2006 at 10:45:19AM -0000, Chris Zimman wrote:
> Did you call OpenSSL_add_all_ciphers() beforehand?

Another thing to check is that you actually have the ciphers you need
compiled in. Because some are protected with patents and you need a
licences etc, by default some are not compiled. Once you have got any
necessary license(s) you can then enable the ciphers in you
configuration.

        Andrew

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Re: SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos

by Tim Hatton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the help. It seems that the problem was even simpler than that, just an embarrassing fault on my part.
Thanks anyway,
Tim