Github user mosermw commented on the pull request:

    https://github.com/apache/nifi/pull/222#issuecomment-196508227
  
    Tested using Tibco with SSL, didn't work.
    
    ERROR o.a.n.jms.processors.PublishJMS 
org.springframework.jms.JmsSecurityException: Can not initialize SSL client: no 
trusted certificates are set; nested exception is 
javax.jms.JMSSecurityException: Can not initialize SSL client: no trusted 
certificates are set
      at 
org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:291)
      at 
org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)
      at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:497)
      at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:580)
    ...
      at 
org.apache.nifi.jms.processors.JMSPublisher.publish(JMSPublisher.java:75)
    
    Caused by: javax.jms.JMSSecurityException: Can not initialize SSL client: 
no trusted certificates are set
      at com.tibco.tibjms.TibjmsLinkSSL._initSSL
      at com.tibco.tibjms.TibjmsLinkSSL.connect
      at com.tibco.tibjms.TibjmsConnection._create
      at com.tibco.tibjms.TibjmsConnection.<init>
      at com.tibco.tibjms.TibjmsxCFImpl._createImpl
      at com.tibco.tibjms.TibjmsxCFImpl._createConnection
      at com.tibco.tibjms.TibjmsConnectionFactory.createConnection
      at 
org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter.doCreateConnection
    ...
      at org.springframework.jms.support.JmsAccessor.createConnection
      at org.springframework.jms.core.JmsTemplate.execute
    
    I'm not sure how to pass the keystores from the SSL Context Service 
property of JMSConnectionFactoryProvider into the instance of the MQ 
ConnectionFactory Implementation using the configuration options provided.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to