Important note:
I used the Spring project, created in the blogs:
- How to use Spring and Ibatis in Eclipse
- How to use Spring Webflow in Eclipse
Part 1 create keystore
1: start windows console
2: go to the bin directory of the used jdk in you’re project.
3: enter: keytool -genkey -alias tomcat -keyalg RSA(see image or desciption)

desciption
1: password: welcome
2: re-enter: welcome
1: first and last name: johan tuitel
2: organization unit: consulting
3: organization: transfer-solutions
4: city: leerdam
5: province: zuid-holland
6: counttry code: nl
7: yes
8: hit enter when asked for key password for tomcat
Part 2 configure server.xml file of the tomcat server
1: in eclipse we open the server.xml file of the tomcat server

2: insert xml code under the commented connector with port 8443
<Connector port=”8443″ protocol=”org.apache.coyote.http11.Http11Protocol” SSLEnabled=”true” maxThreads=”150″ scheme=”https” secure=”true” keyAlias=”tomcat”
clientAuth=”false” sslProtocol=”TLS” keystorePass=”welcome”/>
Part 3 add security constraint in the web.xml file of the Spring project
1: open the web.xml op the project and scroll to the end of the file
2: insert this xml code just before the tag
<security-constraint>
<web-resource-collection>
<web-resource-name>Secure Nationale Vergiftingen Informatie Centrum Application</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>

