Re: [Davmail-users] 500 DavMail configuration exception:
Brought to you by:
mguessan
|
From: Geert S. <sta...@st...> - 2010-02-20 14:00:11
|
Op 20100219 om 23:17 schreef Mickaël Guessant: > Le 19/02/2010 21:45, Geert Stappers a écrit : >> >> From my tests of today, I did learn that when >> davmail.url=https://exchange.obscured.nl/opaque/ >> is changed in >> davmail.url=http://exchange.obscured.nl/opaque/ >> (so from HTTPS to HTTP) is Java bug 6521498 _not_ triggered. >> > Can you please check the jre/lib/security/java.security file ? > > You can try to remove the broken PKCS11 provider: > #security.provider.7=sun.security.pkcs11.SunPKCS11 /opt/bar/cfg/pkcs11.cfg YES! Now is the '500 DavMail configuration exception:' gone \o/ This is what I did to get it working: |# cd /usr/lib/jvm/ |# find . -wholename "*jre/lib/security/java.security" |./java-6-openjdk/jre/lib/security/java.security |./java-1.5.0-gcj-4.3-1.5.0.0/jre/lib/security/java.security |./java-1.5.0-gcj-4.4/jre/lib/security/java.security |# find . -wholename "*jre/lib/security/java.security" | xargs grep -i pkcs11 |./java-6-openjdk/jre/lib/security/java.security:security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg |# vi +/pkcs ./java-6-openjdk/jre/lib/security/java.security |# find . -wholename "*jre/lib/security/java.security" | xargs grep -i pkcs11 |./java-6-openjdk/jre/lib/security/java.security:## security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg Thanks! Geert Stappers |