tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51437] JVM crash when SSL connector is enabled
Date Wed, 29 Jun 2011 14:09:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51437

--- Comment #9 from Mladen Turk <mturk@apache.org> 2011-06-29 14:09:12 UTC ---
You have a wrong certificate format.
It should be PEM not DER like in your case

Convert it to .pem
C:\> openssl x509 -trustout -inform DER -in presidencia.crt -outform PEM -out
presidencia.pem


Then use
 SSLCertificateFile="${catalina.base}/conf/ssl/presidencia.pem" 
In your server.xml

However I'll leave this issue open, cause we have some problem in reporting
that error.
Eg. it should throw something something like openssl.exe prints out:
c:\>openssl.exe s_server -cert presidencia.crt -key presidencia.key
unable to load certificate
1448:error:0906D06C:PEM routines:PEM_read_bio:no start
line:.\crypto\pem\pem_lib.c:650:Expecting: TRUSTED CERTIFICATE

Instead crashing the JVM

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message