lib/org.restlet.ext.ssl.jar missing from 2.2.2 zip

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

lib/org.restlet.ext.ssl.jar missing from 2.2.2 zip

Robert Barnett
The 2.2.2 documentation states that to enable https one must add lib/org.restlet.ext.ssl.jar to the class path. (source: http://restlet.com/learn/guide/2.2/core/security/https)  But no such jar appears in the distribution.  Omitting this jar appears to lead to the runtime exception:

java.lang.ClassNotFoundException: org.restlet.ext.ssl.PkixSslContextFactory

Please advise.

Thanks.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3086969
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lib/org.restlet.ext.ssl.jar missing from 2.2.2 zip

Timothy Aanerud
Robert,

PkixSslContextFactory has moved to org.restlet.ext.jsslutils.jar


Check your start up code, do you have a line like this:
        parameters.add("sslContextFactory", "org.restlet.ext.ssl.PkixSslContextFactory");

Either comment out this line or fix the package name here.
--
Timothy Aanerud

On 8/20/2014 1:39 PM, Robert Barnett wrote:

> The 2.2.2 documentation states that to enable https one must add lib/org.restlet.ext.ssl.jar to the class path. (source: http://restlet.com/learn/guide/2.2/core/security/https)  But no such jar appears in the distribution.  Omitting this jar appears to lead to the runtime exception:
>
> java.lang.ClassNotFoundException: org.restlet.ext.ssl.PkixSslContextFactory
>
> Please advise.
>
> Thanks.
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3086969

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3086973
Loading...