secure web service using mutual certificate security

Ads
 

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

Ads









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
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
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
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
xcode web service example
xcode web service example  xcode web service example
Web service
Web service  webservices in JSP
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 & 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
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
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
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
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
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
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 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
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
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
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... of security holes and it the duty of web master of the website.   
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
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
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
Understanding quality of service for Web services Improving the performance of your Web services
of measuring response time of your Web services using the service proxy...Understanding quality of service for Web services Improving... of the service. In this article, we look at the various Web service QoS

Ads