|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	|  How to access Services deployed with SSL Security internally | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | nmaddisetti | 
		  
		    
			  
				 Posted: Tue Dec 18, 2012 9:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Centurion
 
 Joined: 06 Oct 2004 Posts: 145
  
  | 
		  
		    
			  
				Hi,
 
 
Thank you for your reply...
 
 
I tried below steps :
 
 
1) Created trust store
 
2) added certificate extracted from key store to trust store
 
 
But still same error...
 
 
And we are using self signed certificate.
 
 
here are the commands used for the above steps:
 
 
gsk7cmd -keydb -create -db myBrokerTruststore.jks -type jks
 
 
gsk7cmd -cert -create  -db myBrokerTruststore.jks -label MyCert1  -dn "CN=MyBroker.Server,O=IBM,OU=ISSW,L=Hursley,C=GB"
 
 
gsk7cmd -cert -details -db myBrokerTruststore.jks -label MyCert1
 
 
mqsichangeproperties MQSISIT4 -e TEST_POC -o ComIbmJVMManager -n truststoreFile -v /var/db2/home/mqsisit4/myBrokerTruststore.jks
 
 
mqsichangeproperties MQSISIT4 -e TEST_POC -o ComIbmJVMManager -n truststorePass -v TEST_POC_TrustStore::password
 
 
mqsisetdbparms MQSISIT4 -n TEST_POC_TrustStore::password -u ignore -p xxxx1234
 
gsk7cmd -cert -add -db myBrokerTruststore.jks -label MyCert -file MyCert.arm -format ascii
 
 
 
Please tell us if we are missing any thing...
 
 
Thanks in Advance...
 
Venkat. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Dec 18, 2012 8:22 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				What you are creating with these commands is not a truststore but a keystore.
 
Now exit the signer cert from the keystore and add it to the truststore.   _________________ MQ & Broker admin | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mbau | 
		  
		    
			  
				 Posted: Tue Aug 27, 2013 3:23 am    Post subject: unable to find valid certification path to requested target | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 29 Jul 2013 Posts: 4
  
  | 
		  
		    
			  
				Hello
 
 
I am also getting the same error.  I was working with HTTP Basic Authentication and it is working fine. Now the Web Service Provider has created a HTTPS WebService and asked us to call with the same credentials. I have create Self Signed certificate and exchanged that with Provider. We both have imported these certificates.
 
 
 I can call web service using SOAP UI. However, through code it is not working.
 
 
Are there any specific steps which needs to be followed.
 
 
Appreciate your help. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | lancelotlinc | 
		  
		    
			  
				 Posted: Tue Aug 27, 2013 3:30 am    Post subject: Re: unable to find valid certification path to requested tar | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Knight
 
 Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA 
  | 
		  
		    
			  
				
   
	| mbau wrote: | 
   
  
	Hello
 
 
I am also getting the same error.  I was working with HTTP Basic Authentication and it is working fine. Now the Web Service Provider has created a HTTPS WebService and asked us to call with the same credentials. I have create Self Signed certificate and exchanged that with Provider. We both have imported these certificates.
 
 
 I can call web service using SOAP UI. However, through code it is not working.
 
 
Are there any specific steps which needs to be followed.
 
 
Appreciate your help. | 
   
 
 
 
DO your own work. Create your own post. Don't piggy back on someone else's post as your situation is not the same. _________________ http://leanpub.com/IIB_Tips_and_Tricks
 
Save $20: Coupon Code: MQSERIES_READER | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |