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 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?

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   ... Security Select NewàWeb Service as shown  below
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 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
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
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
ModuleNotFoundError: No module named 'django-web-secure'
ModuleNotFoundError: No module named 'django-web-secure'  Hi, My... named 'django-web-secure' How to remove the ModuleNotFoundError: No module named 'django-web-secure' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django-web-secure'
ModuleNotFoundError: No module named 'django-web-secure'  Hi, My... named 'django-web-secure' How to remove the ModuleNotFoundError: No module named 'django-web-secure' error? Thanks   Hi, In your
web service
web service  i want to make an web service example so please help me out thanks  
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
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
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
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
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
How to develope web service with exachanging xml message between computers using SOAP
How to develope web service with exachanging xml message between computers using SOAP  Hi Friends, I want to developed a webservice using soap... on web server side receives this 15 parameters and gives the response back
xcode web service example
xcode web service example  xcode web service example
J2EE Web Service Development with Attachments Using Axis
J2EE Web Service Development with Attachments Using Axis... implemented a web service with attachments using Axis. While going through... attachments and the client to access the web service using Apache Axis
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 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 protocol stack
Web service protocol stack  hii, What is the Web service protocol stack?   hello,ADS_TO_REPLACE_1 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 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 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 - 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:ADS_TO_REPLACE_1
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
scp using file transfer - Security
scp using file transfer  scp(secure copy protocol) using to download a file from linux server to windows xp . using scp, username, password authentication
EJB3.0,web-service,websphere using eclipse
EJB3.0,web-service,websphere using eclipse  I have to make an ejb3.0 application a web-service using websphere6.1 and eclipse.Can I do it configuring...,then deploy on the server,then convert it into web-service?Any Idea/help
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
web services security testing by soapUI
web services security testing by soapUI  how to make security testing to online examination system by soapUI
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
Google web Service (GWS)
Google web Service (GWS)      ... using Internet. Whenever we have to search something we select Google for it. Google provides its search functionality as its web service
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
Java - Web Service
Java - Web Service code that allow the user to input file name with path  Hi, I wanted a simple java program for web services development as per below: ------ IN REQUEST ------ <FileName> FileName - Path
Security Measure of Website
;    Security is also one of the crucial aspects of web... private firms are offering the security service, which can be taken by giving... sort of security holes and it the duty of web master of the website
Fedex web service
Fedex web service  sir how can use fedex api
developing simple web service
Open Source web services tool in java   ...: The Web Services Invocation Framework (WSIF) is a simple Java API for invoking Web services, no matter how or where the services are provided
Java - Web Service
Java - Web Service  Hi, I wanted a simple java program for web services development as per below: ------ IN REQUEST ------ <FileName> FileName - Path of the file (For example: C/text.txt) ------ IN RESPONSE
Java - Web Service
Java - Web Service  Hi, I wanted a simple java program for web services development as per below: ------ IN REQUEST ------ <FileName> FileName - Path of the file (For example: C/text.txt) ------ IN RESPONSE
Java Building a Simple Web Service ? A Tutorial Tutorial
_TO_REPLACE_20   The browser greets using the web service... Building a Simple Web Service ? A Tutorial... in designing and developing enterprise class web applications using JAVA and J2EE
Attachement in Web Service + EJB 3 + Jboss
Attachement in Web Service + EJB 3 + Jboss  How to send attachements in Web Service using EJB3 with JBoss Application Server
how to create SOAP based web service in java?
how to create SOAP based web service in java?  Hi, I want to create sample SOAP web-service based application using jsp/servlet. Please help me
get images from web service
get images from web service  How to get images from web services in iPhone application?   to get images from web service xml? For Uploading NSString *encodedString=[self encode:(const uint8_t*)_secretData.bytes
courier management service (using servlets,jsp,jdbc)
courier management service (using servlets,jsp,jdbc)   is anyone having information about courier management service ? plz share it .its urgent THANKING YOU IN ADVANCE
Create Security header in web services - WebSevices
Create Security header in web services  How we can create a security header in the web services.Please provide me the code if anyone available thanks in advance

Ads