Bojan
secure web service using mutual certificate security
0 Answer(s)      4 years and 4 months ago
Posted in : WebSevices

hello, i need help making secure web sevice using MCS (mutual certificate security). I use Glassfish 3.0.1 server. I dont wont to use glassfish keystore and truststore, i wont to use mine. So i made server and client keystore and truststore using this commands:

keytool -genkeypair -alias kljuc_server -keyalg RSA -validity 7 -keystore keystoreS.jks // making server keys keytool -genkeypair -alias kljuc_klijent -keyalg RSA -validity 7 -keystore keystoreC.jks // making client keys keytool -export -alias kljucserver -keystore keystoreS.jks -rfc -file ifcertifikat.cer // making server certificate keytool -export -alias kljucklijent -keystore keystoreC.jks -rfc -file iccertifikat.cer // making client certificate keytool -import -alias kljucserver -file ifcertifikat.cer -keystore truststoreC.jks // puting server certificate to client truststore keytool -import -alias kljucklijent -file iccertifikat.cer -keystore truststoreS.jks // puting client certificate to server truststore

then i change secure properties in web service and web service client to point to mine keystore and truststore: web service properties: keystore -> keystoreS.jks (alias -> kljuc_server) truststore -> truststoreS.jks (alias disabled, i cant set it) web service client properties: keystore -> keystoreC.jks (alias -> kljuc_klijent) truststore -> truststoreC.jks (alias -> kljuc_server)

when i run jsp on client application i get this error:

SEVERE: WSS1533: Validation of self signed certificate failed. SEVERE: WSITPVD0035: Error in Verifying Security in Inbound Message.

what else should i do?

Advertisement
View Answers









Related Tutorials/Questions & Answers:
secure web service using mutual certificate security
secure web service using mutual certificate security  hello, i need help making secure web sevice using MCS (mutual certificate security). I use... truststore then i change secure properties in web service and web service
Security in Web Service
. Make this web service secured using security mechanism of “Username...Security in Web Service   ... Right Click on the Web Service Security Select
Advertisements
Implementing WS-Security
WS-Security standard was used to secure a Web service that was developed...-related requirements of the Web service and how they were met using... security - ready to do business Over the past couple of years, Web
Spring Security customized login form to secure URL access
Spring Security customized login  form to secure URL access In this section, you will learn Spring Security custom login form to secure URL access in web application. In the previous example(click here), you have learn to secure
Spring Security auto generated login to secure URL access
Spring Security auto generated login to secure URL access In this section, you... using Spring Security. The tools and technology used in this tutorial are given... 3.0.5.RELEASE Spring Security 3.0.5.RELEASE EXAMPLE Sometimes you need to secure
web service
web service  i want to make an web service example so please help me out thanks  
web application security - Security
web application security  Hello, Experts how can i prevent... the session value using the code : session.setAttribute("user","user"); 3.Check on every page using the code : if(session.getAttribute("user").equals
Web application security - Security
Web application security  Hi, Expert how to hide url in webpage or fix the url in every web page in java.Please give any suggestion or idea
web service
would be grateful :):) So i want to creat a web service that display the bus... coordinate will be send to my web service in a array list but i cant translate this into a code; my problem is in the web service side : in wich class i will do
How to get xml file form http port using web service
How to get xml file form http port using web service  hi I am suresh i am using netbeans 6.9 to develop a web service for getting xml from http port... struck with getting xml file. How to access xml file in web service? Please Help
Web Service
Web Service  Dear Sir, My code is :- For webService:- import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService..."; ServiceFactory factory = ServiceFactory.newInstance(); Service service
Web Service
Web Service  Dear Sir, My code is :- For webService:- import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService..."; ServiceFactory factory = ServiceFactory.newInstance(); Service service
Web service
Web service  webservices in JSP
web service
web service  How servlet class create in web services or how html code used in webservice. pls give example which contain servlet code
web service
web service  How servlet class create in web services or how html code used in webservice. pls give example which contain servlet code
xcode web service example
xcode web service example  xcode web service example
web service & database
web service & database  Hi, I need help with importing data from web service to ms sql/my sql. I developed a web service using Axis2 (v1.6.2... and view the data using Eclipse web services explorer. I would like to know how
Web service protocol stack
Web service protocol stack  hii, What is the Web service protocol stack?   hello, The Web service protocol stack is an evolving set of protocols used to define, discover, and implement Web services
Web Service Tutorial - WebSevices
Web Service Tutorial  hi, i am new to web service and not much have idea about web services. right now i am using myeclipse blue 7.1 as my java IDE... the steps of creating a simple web service. Thanks and Regards Nishi
web service client
web service client  i have implement web service client in netbeans and it work will using wsdl but know i want to Develop a webserivce (or a Java RMI server/client) for one of the e-services but i do not know the wsdl link how
web service problem - WebSevices
web service problem  I have created web service client and server for File transfering using axis2/java.I want to add JAX-RPC client Handler...; Thank u....Actually web service without client handler is working. I want
Web Service Tutorial - WebSevices
Web Service Tutorial  hi, i am asking you again for my previous question of web service. you told me about a link but there is no link in your... the attachment of a step by step procedure of creating web service. Thanks and Regards
Web Service - WebSevices
Web Service  Hi All I have web service in .net , and i have to call it from java spring. How can i do it? Thanks
web service frameworks
Web service Frameworks         Web service Frameworks: There are many frameworks for web services. Here is the list of some frameworks
web service protocols
Web service Protocols         Web service protocols: Here is the list of some protocols used for Web Services
web service - JSP-Servlet
web service  How to call a web service from JSP post method?  Method in JSPHi! In this JSP Example you'll see, how to call web service from JSP methodName the file as usingMethod.jsp JSP Code- - - - -<%@ page
web services security testing by soapUI
web services security testing by soapUI  how to make security testing to online examination system by soapUI
web service call in jsp page
a web service when you have a WSDL. I am using tomcat web server and eclipse ,a simple example to demostrate the web service calling would be good for me... I...web service call in jsp page  I am wandering on internet for hours
Spring web service - Spring
Spring web service   Respected service, I have found an error in this manner(Connecting to tomcat then coming this error at first time only) and then working correctly. error coming only at first time. What
Create a Web Service in Java using Apache Axis2 and Eclipse with Oracle database driven
Create a Web Service in Java using Apache Axis2 and Eclipse with Oracle... a requirement of connecting an external system using web service developed which uses eclipse ID and Apache axis 2 services. The web service should be based on bottom-up
How to Convert SOAP Web service to REST Web service In Java ?
How to Convert SOAP Web service to REST Web service In Java ?  I want to Convert SOAP Web service(WSDL) to REST web service in JSON Format with GET... service. What I know is that JAX-RS api is used to generate REST Web service