Finally get it to work. Code fragment is:
MySSLSocketConnector connector = new MySSLSocketConnector();
connector.setPort(8082); //The code I missed in first version
JettyHTTPServerEngine engine = f.createJettyHTTPServerEngine(8082, "http");
//reconfigure this engine to use https instead of http
en
Hi Daniel,
I tried your solution, but failed. It seems the server is not created
at all. I can't connect to it either by browser or by wget.
Below is my code:
public class MySSLSocketConnector extends
org.eclipse.jetty.server.ssl.SslSocketConnector {
@Override
protected SSLServer
On Thursday 21 October 2010 8:03:35 pm Weihua JIANG wrote:
> Thank you Daniel. However, my question is: how to set
> SSLServerSocketFactory at server side, not at client side?
>
> At client side, for TlsClientParameters, I know there is a
> setSSLSocketFactory() method. However, I can't find solut
Thank you Daniel. However, my question is: how to set
SSLServerSocketFactory at server side, not at client side?
At client side, for TlsClientParameters, I know there is a
setSSLSocketFactory() method. However, I can't find solution to set a
SSLServerSocketFactory at server side.
Thanks
Weihua
2
On Thursday 21 October 2010 4:31:49 am Weihua JIANG wrote:
> Hi all,
>
> I want to use Not-Yet-Commons-SSL to handle SSL certificates. So, I
> prefer to use its SSLServerSocketFactory implementation for CXF
> endpoint publish. However, I can't find any document or sample on how
> to write code.
>
Hi all,
I want to use Not-Yet-Commons-SSL to handle SSL certificates on server
side. So, I
prefer to use its SSLServerSocketFactory implementation for CXF
endpoint publish. However, I can't find any document or sample on how
to write code.
Can anyone help me on this?
Thanks
Weihua
Hi all,
I want to use Not-Yet-Commons-SSL to handle SSL certificates. So, I
prefer to use its SSLServerSocketFactory implementation for CXF
endpoint publish. However, I can't find any document or sample on how
to write code.
Can anyone help me on this?
Thanks
Weihua