# Re: IOException SSL implementation not available

Jeff Nisewanger (Jeff.Nisewanger@eng.sun.com)
Mon, 30 Aug 1999 08:34:39 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Nell Rehn: "handshake problem?"
- Previous message: Jeff Nisewanger: "Re: security"
- Maybe in reply to: John Waldron: "IOException SSL implementation not available"

    Message-Id: <199908301536.IAA13570@shorter.eng.sun.com>

    Date: Mon, 30 Aug 1999 08:34:39 -0700 (PDT)

    From: Jeff Nisewanger <Jeff.Nisewanger@eng.sun.com>

    Subject: Re: IOException SSL implementation not available

    To: java-security@java.sun.com, jwaldron@ventera.com

> I have a small piece of code (attached) which I would like to use to attach
> a stream to an https protocol, I am receiving the below error, any thoughts?
>
> [[ BROWSE~1.JAV : 4622 in winmail.dat ]]
>
> C:\jdk1.2.2>java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.p
> rotocol Browse https://icob.com
> URL: https://icob.com/
> java.net.SocketException: SSL implementation not available

This usually means that there is no security provider installed
(such as the JSSE reference implementation provider) that
implements an SSLContext. See the README file from the download page
at the JDC. You need to either edit your JRE jre/lib/security/java.security
file so that the JSSE reference implementation provider is statically
configured or you need to dynamically configure it using the
addProvider() call on the java.security.Security class.

Jeff

- Next message: Nell Rehn: "handshake problem?"
- Previous message: Jeff Nisewanger: "Re: security"
- Maybe in reply to: John Waldron: "IOException SSL implementation not available"