Hi Willem,
You will want to configure tomcat to do the SSL comms.
Have a look at the $CATALINA_HOME/conf/server.xml config file.
Search for SSL in this file and you should find a commented out Tomcat
configuration element for an SSL connector.
Some example config is below.
As for any SSL application at you will need to configure what certs and
keys to use, more detail will be on the apache tomcat website.
Tomcat does support the Java Keystore format and also the PKCS#12 format
(a language neutral industry standard).
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<!-- was commented out -->
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="C:\sample_certs\keys\bob.jks"
keystorePass="password" />
<!-- keystoreFile=" C:\sample_certs\keys\bob.jks"
keystorePass="password" /> -->
<!-- end of was commented out -->
Note: for CXF client side outbound comms you would need to configure SSL
settings as normal for CXF, tomcat would not be in the loop there.
Cheers,
Donal
-----Original Message-----
From: Willem777 [mailto:[EMAIL PROTECTED]
Sent: 11 February 2008 15:27
To: [email protected]
Subject: SSL, Spring, TomCat
Hi everyone,
I'm very new with CXF and Spring - so pardon my ignorance.
I've got a CXF annotation-based web service which I host in Tomcat in a
Spring app. I want to configure SSL. On the CXF website I only see
config
samples for the client and the standalone HTTP (Jetty)
I use Tomcat - so what must I configure on the server side to tell CXF
to
use SSL?
I appreciate any help!!
Thanks guys
--
View this message in context:
http://www.nabble.com/SSL%2C-Spring%2C-TomCat-tp15413105p15413105.html
Sent from the cxf-user mailing list archive at Nabble.com.
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland