Results 1 to 5 of 5

Thread: SSL CTX contains no cyphers

  1. #1
    Join Date
    Nov 2005
    Beans
    14

    SSL CTX contains no cyphers

    I have been using CentOS 4.5 and was looking at Ubuntu as a new platform.

    I just compiled and ran one ap - a hotel reservation module - and received - SSL CTX contains no ciphers.

    I guess this means ubuntu cant be used commercially. Very disappointing.



    P.S.
    ERR_print_errors_fp (logfd); generates

    18452:error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers:ssl_lib.c:1
    424:

    This is in a function that does ..

    {
    SSL_METHOD *method;
    SSL_CTX *ctx;

    OpenSSL_add_all_algorithms (); /* Load cryptos, et.al. */
    SSL_load_error_strings (); /* Bring in and register error messages */
    method = SSLv3_client_method (); /* Create new client-method instance */
    ctx = SSL_CTX_new (method); /* Create new context */
    if (ctx == NULL)
    {
    ERR_print_errors_fR_print_errors_fp (logfd);
    abort ();
    }
    return ctx;
    Last edited by JimBodkins; November 25th, 2007 at 12:24 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Pune, India
    Beans
    2
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Lightbulb Re: SSL CTX contains no cyphers

    It is the bug in openssl lib
    see here Bug#335836

    Solution for your problem is, call the routine SSL_library_init()
    before making call to any SSL library functions.

    It works!!!
    Last edited by kadamcd; August 29th, 2008 at 12:18 PM.

  3. #3
    Join Date
    Apr 2007
    Location
    (X,Y,Z) = (0,0,0)
    Beans
    3,715

    Re: SSL CTX contains no cyphers

    It's a bug that affects Debian-based distributions, including Debian itself. CentOS is RedHat-based, so you were safe there...

  4. #4
    Join Date
    Dec 2007
    Location
    Pune, India.
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: SSL CTX contains no cyphers

    Thank's kadamcd....
    it worked for me too

  5. #5
    Join Date
    Nov 2012
    Beans
    1

    Re: SSL CTX contains no cyphers

    kadamcd's solution also works for Ubuntu 12.04.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •