Re: ssl url

David Brownell (db@Eng)
Sat, 23 May 1998 08:52:01 -0700

Date: Sat, 23 May 1998 08:52:01 -0700
From: David Brownell <db@Eng>
To: bkafka@BigPlanet.Com
Subject: Re: ssl url

On 21 May, Ben Kafka wrote:
>
> Hi,
>
> In reading your document at:
> http://java.sun.com/security/ssl/API_users_guide.html
> you state.
>
> "The java.net.URL class supports, without any modification, the
> https://host/object style URL. This represents one of the
> most common APIs to SSL on the client side; it layers the HTTP protocol
> over SSL. In many environments, firewalls support
> tunneling of HTTPS through corporate firewalls to Internet web servers
> such as those for banks and brokerages, providing a
> richer programming model than that which is available to socket level
> programmers."
>
> When trying to do this with the urlconnect method however I get an error
> saying "unrecognized protocol". I am using server side java, jdk1.1.6.
> Am I missing something?

An SSL package with an HTTPS protocl handler installed. The fact that
the URL class works with such URLs doesn't mean that it does so without
underlying support ...

- Dave

> Ben Kafka