Security Using Rampart

vibsha's picture
We are deploying the web services solution created by Axis2 1.1.1 and security using rampart1.1. The deployment comprises of the Apache Web server which receives the HTTP requests and then routes the requests to the Jboss Application server, where axis2 web application along with the services are deployed. I want to have encryption and digital signature in place using rampart. I have tested the application with the sample certifcates in the development environment and it works fine. The questions are pertaining to the production deployment. a) Do i need to have the certifcates key store(signed server certificate, CA self signed certifcate) maintained at the Apache web server? I guess this would be required in case i want to have transport layer security enabled right. b) Since rampart would reside at the Jboss server i would need the keystore at Jboss server also right? this will be required for handling the encrypted and digitaly signed SOAP messages. This keystore would have the private keys of the server, CA self signed certificate, and the signed certificate of the server by the CA. c) I hope the Apache web server does not create issues with the encrypted soap request coming in when the transport layer security is also enabled. It must let it pass through to Jboss as is. d) If rampart is enabled for the web services and the axis2 engine is enabled/configured for REST based services too, would Axis2 engine expect encrypted and digitally signed messages when the consumer sends a POST request? Thanks Vibhor
ruchith's picture

[Identity-dev] Security Using Rampart

Hi, Please see my response in the axis-user@ list! On point (d) I'd like to mention that in the case where transport level security is used with username token authentication, WSO2-WSAS [1] will handle the REST/POST requests via HTTPS and will enforce HTTP basic auth on those requests! Thanks, Ruchith [1] http://www.wso2.org/projects/wsas/java vibsha wrote: > > We are deploying the web services solution created by Axis2 1.1.1 and > security using rampart1.1. > The deployment comprises of the Apache Web server which receives the > HTTP requests and then routes the requests to the Jboss Application > server, where axis2 web application along with the services are deployed. > I want to have encryption and digital signature in place using rampart. > I have tested the application with the sample certifcates in the > development environment and it works fine. The questions are pertaining > to the production deployment. > > a) Do i need to have the certifcates key store(signed server > certificate, CA self signed certifcate) maintained at the > Apache web server? I guess this would be required in case i want to > have transport layer security enabled right. > > b) Since rampart would reside at the Jboss server i would need the > keystore at Jboss server also right? this will be required for handling > the encrypted and digitaly signed SOAP messages. This keystore would > have the private keys of the server, CA self signed certificate, and the > signed certificate of the server by the CA. > c) I hope the Apache web server does not create issues with the > encrypted soap request coming in when the transport layer security is > also enabled. It must let it pass through to Jboss as is. > > d) If rampart is enabled for the web services and the axis2 engine is > enabled/configured for REST based services too, would Axis2 engine > expect encrypted and digitally signed messages when the consumer sends a > POST request? > Thanks > Vibhor > > _______________________________________________ > Identity-dev mailing list > Identity-dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/identity-dev >
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)