Hi,
It requires some code enhancement at Tuscany when the embedded tomcat server
is created. Basically, we need to set a few properties on the HTTP connector
as follows:
if (isSSLEnabled) {
IntrospectionUtils.setProperty(httpConnector, "sslProtocol", "TLS");
IntrospectionUtils.setProperty(httpConnector, "keystoreFile",
getPath()+"/conf/tomcat.keystore");
IntrospectionUtils.setProperty(httpConnector, "keystoreType",
"JKS");
IntrospectionUtils.setProperty(httpConnector, "clientAuth",
"false");
httpConnector.setProtocol( "SSL");
}
We need to figure out how binding.ws gets the configuration of the keystore.
Maybe start with a well-known location or a System property.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <[EMAIL PROTECTED]>
Sent: Friday, August 08, 2008 2:53 PM
To: <[email protected]>
Subject: Re: Tuscany and https
In the scenario where you are developing j2ee web applications, you
could configure your app server and set a "https" uri for the service.
In the scenario where you are developing web 2.0 apps, using embedded
tomcat/jetty as we do in store sample application, we need to explore
what would be the best way to configure the embedded server.
I'll explore this second scenario, but other please feel free to jump
in if you have done so already.
On Fri, Aug 8, 2008 at 2:18 PM, Willis C White <[EMAIL PROTECTED]> wrote:
Is it possible to configure Tuscany to expose a service (jason-rpc) that
communicates over https? How do I do this.
Willis C White III
IQ Technology Projects
IBM CIO Technology & Innovation
Poughkeepsie, NY 12601
Home office 845 331-5134
Cell 845 853-3827
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/