|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  SSL Issue in IIB using google smtp | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Phanikumar | 
		  
		    
			  
				 Posted: Fri Oct 12, 2018 5:48 am    Post subject: SSL Issue in IIB using google smtp | 
				     | 
			   
			 
		   | 
		 
		
		    Apprentice
 
 Joined: 29 Aug 2016 Posts: 25 Location: Kuwait 
  | 
		  
		    
			  
				Hi Everyone,
 
 
I've configured SSL in iib for sending email notifications using google smtp server
 
 
I am getting below exception
 
 
ExceptionList
 
	RecoverableException
 
			File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
 
			Line:INTEGER:1239
 
			Function:CHARACTER:ImbDataFlowNode::createExceptionList
 
			Type:CHARACTER:ComIbmTimeoutNotificationNode
 
			Name:CHARACTER:Email_Notifications_MF#FCMComposite_1_1
 
			Label:CHARACTER:Email_Notifications_MF.Timeout_Notify_IN
 
			Catalog:CHARACTER:BIPmsgs
 
			Severity:INTEGER:3
 
			Number:INTEGER:2230
 
			Text:CHARACTER:Node throwing exception
 
			Insert
 
					Type:INTEGER:14
 
					Text:CHARACTER:Email_Notifications_MF.Timeout_Notify_IN
 
			RecoverableException
 
					File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\TemplateNodes\ImbOutputTemplateNode.cpp
 
					Line:INTEGER:303
 
					Function:CHARACTER:ImbOutputTemplateNode::processMessageAssemblyToFailure
 
					Type:CHARACTER:ComIbmEmailOutputNode
 
					Name:CHARACTER:Email_Notifications_MF#FCMComposite_1_3
 
					Label:CHARACTER:Email_Notifications_MF.Email Output
 
					Catalog:CHARACTER:BIPmsgs
 
					Severity:INTEGER:3
 
					Number:INTEGER:2230
 
					Text:CHARACTER:Caught exception and rethrowing
 
					Insert
 
							Type:INTEGER:14
 
							Text:CHARACTER:Email_Notifications_MF.Email Output
 
					RecoverableException
 
							File:CHARACTER:Undefined
 
							Line:INTEGER:-1
 
							Function:CHARACTER:sendBasicEmail()
 
							Type:CHARACTER:
 
							Name:CHARACTER:
 
							Label:CHARACTER:
 
							Catalog:CHARACTER:BIPmsgs
 
							Severity:INTEGER:3
 
							Number:INTEGER:4459
 
							Text:CHARACTER:Exception sending email
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:com.ibm.broker.emailnodes.EmailOutputNode : javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
 
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
 
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
 
	at javax.mail.Service.connect(Service.java:275)
 
	at javax.mail.Service.connect(Service.java:156)
 
	at javax.mail.Service.connect(Service.java:105)
 
	at com.ibm.broker.emailnodes.EmailOutputNode.sendMail(Unknown Source)
 
	at com.ibm.broker.emailnodes.EmailOutputNode.sendBasicEmail(Unknown Source)
 
	at com.ibm.broker.emailnodes.EmailOutputNode.sendData(Unknown Source)
 
	at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(Unknown Source)
 
 
							RecoverableException
 
									File:CHARACTER:Undefined
 
									Line:INTEGER:-1
 
									Function:CHARACTER:throwableToMbException
 
									Type:CHARACTER:
 
									Name:CHARACTER:
 
									Label:CHARACTER:
 
									Catalog:CHARACTER:BIPmsgs
 
									Severity:INTEGER:3
 
									Number:INTEGER:4678
 
									Text:CHARACTER:Exception sending email
 
									Insert
 
											Type:INTEGER:5
 
											Text:CHARACTER:Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
 
 
 
Below are steps i followed to configure SSL.
 
 
1. Generate a keystore 
 
2. Download to google CA cert and added to the existing keystore.
 
 
Please help me to fix the issue  
 
 
Regards,
 
Phanikumar _________________ Saying what you feel. It's not being rude, it's called being real. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sat Oct 13, 2018 11:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Shouldn't you be using smtps in the protocol part of the URL with google??   _________________ MQ & Broker admin | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |