You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2008/03/27 12:42:42 UTC
Re: HTTPS and CXF Protocol mismatch: engine's protocol is http,
the url protocol is https
This may be the problem: Try -Dcxf.config.file instead of
-Dcxf.config.file.url, perhaps.
Am Donnerstag, den 27.03.2008, 10:00 +0100 schrieb
whitewolff@tiscali.it:
> First of all thank you boys!
> I really appreciate your valuable help.
>
> > How did you feed the CXF configuration to the server?
>
> I am working under eclipse; I have specified this argument (into the
> run section)
> -Dcxf.config.file.url="C:/Documents and Settings/ SecureServer.xml".
> (I have used " " )
> The file SecureServer.xml is included in the first mail.
>
> I am interested in developing a server which listens on connections
> via https;
> this is my server:
> package com.hw.server;
>
> String address = "https://localhost:9001/helloWorld";
> IHelloWorld implementor = new HelloWorldImpl();
> Service.publish(address, implementor);
> System.out.println("Server ready");
>
> I am currently using the 2.0.5 snapshot downloaded from cxf website
> but nothing has changed and I continue having the same error (protocol
> mismatch).
>
> Another thing you could explain me: what's the difference between sec:
> keyManagers and sec:trustManager and why do I have to specify the
> password twice (inside keyPassoword=" " and inside password=" ") ?
>
> <sec:keyManagers keyPassword="password">
> <sec:keyStore type="JKS" password="password"
> file="C:/certs/cherry.jks"/>
> </sec:keyManagers>
> <sec:trustManagers>
> <sec:keyStore type="JKS" password="password"
> file="C:/certs/truststore.jks"/>
> </sec:trustManagers>
>
> Thank you.
>
>
>
> ______________________________________________
>
> Voce Senza Limiti: chiama in tutta Italia a 0 cent. SOLO 9,90 EURO AL MESE fino al 27/03/08!
> http://abbonati.tiscali.it/promo/vocesenzalimiti_2603/
>
Re: HTTPS and CXF Protocol mismatch: engine's protocol is http, the
url protocol is https
Posted by Willem Jiang <wi...@gmail.com>.
We have two configuration system properties to set the configuration
file, one is "cxf.config.file" for the configuration file in the class
path such as "-Dcxf.config.file=SercureServer.xml" , the other is
"cxf.config.file.url" which is used for the point out the
configuration's URL.
In your case , I think it could be the " " error + missing the protocol
header "file:/".
Willem
Glen Mazza wrote:
> This may be the problem: Try -Dcxf.config.file instead of
> -Dcxf.config.file.url, perhaps.
>
> Am Donnerstag, den 27.03.2008, 10:00 +0100 schrieb
> whitewolff@tiscali.it:
>
>> First of all thank you boys!
>> I really appreciate your valuable help.
>>
>>
>>> How did you feed the CXF configuration to the server?
>>>
>> I am working under eclipse; I have specified this argument (into the
>> run section)
>> -Dcxf.config.file.url="C:/Documents and Settings/ SecureServer.xml".
>> (I have used " " )
>> The file SecureServer.xml is included in the first mail.
>>
>> I am interested in developing a server which listens on connections
>> via https;
>> this is my server:
>> package com.hw.server;
>>
>> String address = "https://localhost:9001/helloWorld";
>> IHelloWorld implementor = new HelloWorldImpl();
>> Service.publish(address, implementor);
>> System.out.println("Server ready");
>>
>> I am currently using the 2.0.5 snapshot downloaded from cxf website
>> but nothing has changed and I continue having the same error (protocol
>> mismatch).
>>
>> Another thing you could explain me: what's the difference between sec:
>> keyManagers and sec:trustManager and why do I have to specify the
>> password twice (inside keyPassoword=" " and inside password=" ") ?
>>
>> <sec:keyManagers keyPassword="password">
>> <sec:keyStore type="JKS" password="password"
>> file="C:/certs/cherry.jks"/>
>> </sec:keyManagers>
>> <sec:trustManagers>
>> <sec:keyStore type="JKS" password="password"
>> file="C:/certs/truststore.jks"/>
>> </sec:trustManagers>
>>
>> Thank you.
>>
>>
>>
>> ______________________________________________
>>
>> Voce Senza Limiti: chiama in tutta Italia a 0 cent. SOLO 9,90 EURO AL MESE fino al 27/03/08!
>> http://abbonati.tiscali.it/promo/vocesenzalimiti_2603/
>>
>>
>
>
>