| Author | Message | 
		
		  | praveenmq | 
			  
				|  Posted: Tue May 12, 2015 11:47 pm    Post subject: SSL Exceptions in DataPower |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| Hello , 
 We have a service running in WebService Proxy and while communicating this service the other parties are received Forbidden 403 error.
 
 While in DP logs it shows the below
 
 source-https (GSB_IGOV_HTTPS_FSH): Request processing failed: Connection terminated before request headers read because of the connection error occurs, from URL: 10.1.161.5:56907
 valcred (GSB_IGOV_ValidCred): SSL Proxy Profile 'GSB_IGOV_SSLProfile': connection error: peer did not send a certificate
 
 
 Certificates are placed the Valcred of SSL Profile but still it shows SSL exceptions in DP and Forbidden error 403 in applicatiion.
 
 Any where we need to place the certificate other valcred?
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Wed May 13, 2015 2:29 am    Post subject: Re: SSL Exceptions in DataPower |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| 
   
	| praveenmq wrote: |  
	| Hello , 
 connection error: peer did not send a certificate
 
 
 |  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | praveenmq | 
			  
				|  Posted: Wed May 13, 2015 3:09 am    Post subject: |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| Communication is there and the certificates are exchanged from DP as well as the receiving application. 
 But still am receiving this error.
 
 I added this certificate in SSL Proxy profile. Is that the only place we will add certificates or there are other places which needs to be added?
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | SOLOHERO | 
			  
				|  Posted: Wed May 13, 2015 6:41 pm    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 01 Feb 2007Posts: 107
 
 
 | 
			  
				| Hi, You are not ever getting to that stage of val cred , 
 Peer has to accept your connection and send a certificate which is not happening.
 
 Do a packet capture you will get the whole picture.
 
 There could be 2 issues, Peer is not trusting your connection or failing at the firewall level.
 _________________
 Thanks
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | praveenmq | 
			  
				|  Posted: Thu May 14, 2015 1:08 am    Post subject: |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| Hello , 
 Just did a packet capture and the requests are successfully acknowledged and finished. So the requests did hit the server after passing through firewall.
 
 Any other places to check for this?
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | SOLOHERO | 
			  
				|  Posted: Thu May 14, 2015 4:37 am    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 01 Feb 2007Posts: 107
 
 
 | 
			  
				| can you post your packet capture here, _________________
 Thanks
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Thu May 14, 2015 4:48 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| Are you sure that the certificates were passed? 
 Are you sure that the certificates are valid?
 
 Are you sure that DP is configured to accept the certificates?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | praveenmq | 
			  
				|  Posted: Sun May 17, 2015 12:46 am    Post subject: |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| 
   
	| SOLOHERO wrote: |  
	| can you post your packet capture here, |  
 
 Please find the sample capture below
 
 2	18.366972	10.1.161.5	10.14.122.31	TCP	74	45472?11001 [SYN] Seq=0 Win=65535 Len=0 MSS=1450 WS=8 TSval=3296661038 TSecr=0
 
 3	18.366989	10.14.122.31	10.1.161.5	TCP	74	11001→45472 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSval=181065663 TSecr=3296661038 WS=256
 
 4	18.367263	10.1.161.5	10.14.122.31	TCP	66	45472→11001 [ACK] Seq=1 Ack=1 Win=261712 Len=0 TSval=3296661038 TSecr=181065663
 
 5	18.367444	10.1.161.5	10.14.122.31	TCP	187	45472→11001 [PSH, ACK] Seq=1 Ack=1 Win=261712 Len=121 TSval=3296661038 TSecr=181065663
 
 6	18.367449	10.14.122.31	10.1.161.5	TCP	66	11001→45472 [ACK] Seq=1 Ack=122 Win=5888 Len=0 TSval=181065663 TSecr=3296661038
 
 7	18.367594	10.14.122.31	10.1.161.5	TCP	66	11001→45472 [FIN, ACK] Seq=1 Ack=122 Win=5888 Len=0 TSval=181065663 TSecr=3296661038
 
 8	18.367861	10.1.161.5	10.14.122.31	TCP	66	45472→11001 [ACK] Seq=122 Ack=2 Win=261712 Len=0 TSval=3296661038 TSecr=181065663
 
 9	18.367929	10.1.161.5	10.14.122.31	TCP	66	45472→11001 [FIN, ACK] Seq=122 Ack=2 Win=261712 Len=0 TSval=3296661038 TSecr=181065663
 
 10	18.367933	10.14.122.31	10.1.161.5	TCP	66	11001→45472 [ACK] Seq=2 Ack=123 Win=5888 Len=0 TSval=181065663 TSecr=3296661038
 
 11	20.416260	10.1.161.5	10.14.122.31	TCP	74	58660→11001 [SYN] Seq=0 Win=65535 Len=0 MSS=1450 WS=8 TSval=203531257 TSecr=0
 
 
 12	20.416270	10.14.122.31	10.1.161.5	TCP	74	11001→58660 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSval=181066175 TSecr=203531257 WS=256
 
 13	20.416582	10.1.161.5	10.14.122.31	TCP	66	58660→11001 [ACK] Seq=1 Ack=1 Win=261712 Len=0 TSval=203531257 TSecr=181066175
 
 14	20.416711	10.1.161.5	10.14.122.31	TCP	187	58660→11001 [PSH, ACK] Seq=1 Ack=1 Win=261712 Len=121 TSval=203531257 TSecr=181066175
 
 15	20.416717	10.14.122.31	10.1.161.5	TCP	66	11001→58660 [ACK] Seq=1 Ack=122 Win=5888 Len=0 TSval=181066175 TSecr=203531257
 
 16	20.416850	10.14.122.31	10.1.161.5	TCP	66	11001→58660 [FIN, ACK] Seq=1 Ack=122 Win=5888 Len=0 TSval=181066175 TSecr=203531257
 
 17	20.417093	10.1.161.5	10.14.122.31	TCP	66	58660→11001 [ACK] Seq=122 Ack=2 Win=261712 Len=0 TSval=203531257 TSecr=181066175
 
 18	20.417163	10.1.161.5	10.14.122.31	TCP	66	58660→11001 [FIN, ACK] Seq=122 Ack=2 Win=261712 Len=0 TSval=203531257 TSecr=181066175
 
 19	20.417170	10.14.122.31	10.1.161.5	TCP	66	11001→58660 [ACK] Seq=2 Ack=123 Win=5888 Len=0 TSval=181066176 TSecr=203531257
 
 20	21.181530	10.1.161.5	10.14.122.31	TCP	74	55500→11001 [SYN] Seq=0 Win=65535 Len=0 MSS=1450 WS=8 TSval=1927086856 TSecr=0
 
 21	21.181539	10.14.122.31	10.1.161.5	TCP	74	11001→55500 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSval=181066367 TSecr=1927086856 WS=256
 
 22	21.181861	10.1.161.5	10.14.122.31	TCP	66	55500→11001 [ACK] Seq=1 Ack=1 Win=261712 Len=0 TSval=1927086856 TSecr=181066367
 
 23	21.181973	10.1.161.5	10.14.122.31	TCP	187	55500→11001 [PSH, ACK] Seq=1 Ack=1 Win=261712 Len=121 TSval=1927086856 TSecr=181066367
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | praveenmq | 
			  
				|  Posted: Sun May 17, 2015 12:48 am    Post subject: |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| 
   
	| mqjeff wrote: |  
	| Are you sure that the certificates were passed? 
 Are you sure that the certificates are valid?
 
 Are you sure that DP is configured to accept the certificates?
 |  
 
 Yes the certificates are passed.
 
 Yes the certificates are valid.
 
 Yes i have passed other certificates to DP as well and it has accepted those
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Mon May 18, 2015 5:04 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| What I meant is - are you sure that DataPower is configured to accept *these particular* certificates. 
 Including the full signer chain?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | praveenmq | 
			  
				|  Posted: Mon May 18, 2015 5:07 am    Post subject: |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| Hello MQJEFF , 
 I am not sure how we can make sure the DP can accept these particular Certificates.
 
 Is there any permission or access we need to grant to Valcred?
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Mon May 18, 2015 5:28 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| I'm not really a DP user/expert.  But I would think you would need to upload the relevant keys/signer certificates. 
 Presumably in the same way you did for the others that are working.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | praveenmq | 
			  
				|  Posted: Mon May 18, 2015 11:14 pm    Post subject: |   |  | 
		
		  |  Voyager
 
 
 Joined: 28 Mar 2009Posts: 96
 
 
 | 
			  
				| Hello , 
 Do any one have any suggestions/advise for this error . I tried uploading all formats the same certificate but still receiving the same error as below
 
 valcred (GSB_IGOV_ValidCred): SSL Proxy Profile 'GSB_IGOV_SSLProfile': connection error: peer did not send a certificate
 _________________
 Jack
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |