Author: jfclere
Date: Thu Jul 21 07:29:08 2011
New Revision: 1149052

URL: http://svn.apache.org/viewvc?rev=1149052&view=rev
Log:
Fix for the weird: (on macosx).
+++
java.lang.Exception: Unable to load certificate key newkey.pem 
(error:0906B072:PEM routines:PEM_get_EVP_CIPHER_INFO:unsupported encryption)
        at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
+++

Modified:
    tomcat/native/branches/1.1.x/native/src/ssl.c

Modified: tomcat/native/branches/1.1.x/native/src/ssl.c
URL: 
http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/ssl.c?rev=1149052&r1=1149051&r2=1149052&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/ssl.c (original)
+++ tomcat/native/branches/1.1.x/native/src/ssl.c Thu Jul 21 07:29:08 2011
@@ -500,6 +500,7 @@ TCN_IMPLEMENT_CALL(jint, SSL, initialize
     ERR_load_crypto_strings();
     SSL_load_error_strings();
     SSL_library_init();
+    OpenSSL_add_all_ciphers() ;
 #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
     ENGINE_load_builtin_engines();
 #endif



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to