Unable to receive TLS connection when sun.security.pkcs11.SunPKCS11 is enabled

Bug #948875 reported by zpon
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

A SSL server, e.g. created by using SSLServerSocketFactory or SSLContext, will not work when using TLS connections (see for http://stackoverflow.com/questions/9586162/openjdk-and-php-ssl-connection-fails example code and openssl s_client results).

The problem can be resolved by removing sun.security.pkcs11.SunPKCS11 from $JAVA_HOME/jre/lib/security/java.security
I propose disabling this Provider by default.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
Rob (rchille) wrote :

Noting here that it effects versions 11.10 and 12.04(beta) at this time.
Commenting out sun.security.pkcs11.SunPKCS11 worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.