camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micky Santomax <mickysanto...@tiscali.it>
Subject Re: Password error for https endpoint connection
Date Fri, 28 Mar 2008 16:56:02 GMT


Gary Tully wrote:
> 
> I was able to use a browser to access the following route:
> 
>                  Processor proc = new Processor() {
>                     public void process(Exchange exchange) throws
> Exception {
>                         exchange.getOut(true).setBody("Hello World");
>                     }
>                 };
>                 from("jetty:https://localhost:8080/hello").process(proc);
> 

Sorry Gary, I have run the HttpRouteTest with https protocol but the error
is the same :

    [junit] ------------- Standard Error -----------------
    [junit] 2008-03-28 16:21:32.264::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
    [junit] 2008-03-28 16:21:32.264::INFO:  jetty-6.1.8
    [junit] 2008-03-28 16:21:32.571::INFO:  Started
SslSocketConnector@0.0.0.0:55631
    [junit] 2008-03-28 16:21:32.657::WARN:  EXCEPTION
    [junit] java.security.UnrecoverableKeyException: Password must not be
null
             ...

Why when you were able to use a browser to access the route, password
exception wasn't thrown ?
Have you run this jetty test with https protocol ?
-- 
View this message in context: http://www.nabble.com/Password-error-for-https-endpoint-connection-tp16128569s22882p16354776.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message