cipher or hash unavailable

2008-10-09 Thread Glenn MacGregor
Hi All,

 

I am using openssl-0.9.8i with curl. When I try to access a secure site
(https) my app dies with the error:

 

TLS1_SETUP_KEY_BLOCK:cipher or hash unavailable

 

I should also say that I am using pthreads and have implemented the
necessary callback functions for locking/unlocking.

 

Any help would be great.

 

Thanks

 

 Glenn



RE: cipher or hash unavailable

2008-10-09 Thread Glenn MacGregor
Ok, so I did a openssl ciphers -v on the the installed version (0.9.7a -
CentOS4) and the version I compiled (0.9.8i - CeontOS4) and the list of
ciphers on 0.9.8i is much smaller than 0.9.7a.

 

Can someone point me to a document that describes how to compile with
all the ciphers?

 

Thanks

 

 Glenn 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn MacGregor
Sent: Thursday, October 09, 2008 11:13 AM
To: openssl-users@openssl.org
Subject: cipher or hash unavailable

 

Hi All,

 

I am using openssl-0.9.8i with curl. When I try to access a secure site
(https) my app dies with the error:

 

TLS1_SETUP_KEY_BLOCK:cipher or hash unavailable

 

I should also say that I am using pthreads and have implemented the
necessary callback functions for locking/unlocking.

 

Any help would be great.

 

Thanks

 

 Glenn



SSL error (138): cipher or hash unavailable

2007-04-10 Thread Johans Taboada

Hi list, I ask for help please.

I have an apache server (2.0.59) built with OpenSSL 0.9.8b, it hosts a
python (2.4.4) based application (Edgewall's trac) wich access a PostgreSQL
SSL-secured server (8.2.3) throught DBI libraries (pyPgSQL/Psycopg2).

When I use directly trac (it has a lightweight server, tracd), it works with
no problems.

But when I use it throught apache2+mod_python, apache shows HTTP 500:

{{{
# error_log, using pyPgSQL
[Thu Apr 05 19:25:43 2007] [error] [client 192.168.2.52]
DatabaseError: SSL error: cipher or hash unavailable\n
[Thu Apr 05 19:25:43 2007] [debug] ssl_engine_kernel.c(1787): OpenSSL:
Write: SSL negotiation finished successfully
[Thu Apr 05 19:25:43 2007] [info] Connection to child 4 closed with
standard shutdown(server PCDCOM:443, client 192.168.2.52)
}}}

{{{
# error_log, using Psycopg2
[Mon Apr 09 22:03:32 2007] [error] [client 192.168.2.52]
OperationalError: SSL error: cipher or hash unavailable\n
[Mon Apr 09 22:03:33 2007] [debug] ssl_engine_kernel.c(1787): OpenSSL:
Write: SSL negotiation finished successfully
[Mon Apr 09 22:03:33 2007] [info] Connection to child 1 closed with
standard shutdown(server PCDCOM:443, client 192.168.2.52)
}}}

What does it really mean '''cipher or hash unavailable'''? (SSL Error
#138,SSL_R_CIPHER_OR_HASH_UNAVAILABLE).
The only thing I can guess is that ''apache2+mod_python'' (client-app role)
fails to access PostgreSQL+SSL (server role). Must be a missconfiguration in
apache2.


How do I configure Apache2 properly, to act as a SSL client, I have no
problem acting as SSL server role.

For a more detailed info, visit:
http://groups.google.com/group/trac-users/browse_thread/thread/901ef327b448b496?hl=en

Thanks,
Johans Marvin Taboada Villca


Re: SSL error (138): cipher or hash unavailable

2007-04-17 Thread Johans Taboada

2007/4/10, Johans Taboada <[EMAIL PROTECTED]>:


Hi list, I ask for help please.



Still waiting...



DatabaseError: SSL error: cipher or hash unavailable\n


...


OperationalError: SSL error: cipher or hash unavailable\n
...
What does it really mean '''cipher or hash unavailable'''? (SSL Error
#138, SSL_R_CIPHER_OR_HASH_UNAVAILABLE).
...
For a more detailed info, visit:
http://groups.google.com/group/trac-users/browse_thread/thread/901ef327b448b496?hl=en

Thanks,


Am I writing to the wrong mailing list?, if yes please tell me, thanks


Johans Marvin Taboada Villca-`^_^´-

Adm. Laboratorio de Desarrollo de Software
Carreras de Informática y Sistemas
UMSS, Cochabamba
Bolivia