简体   繁体   English

Mule 4 如何设置“数据源引用连接”以与 jks 一起与 DB2 通信

[英]Mule 4 How to setup 'Datasource Reference Connection' to talk to DB2 along with jks

I need to setup Mule 4 hosted in Cloudhub to talk to DB2 resides on our internal server.我需要设置托管在 Cloudhub 中的 Mule 4 以与驻留在我们内部服务器上的 DB2 对话。 I need to pass certificate .jks and password along with db connection.我需要传递证书 .jks 和密码以及数据库连接。 Can anyone explain how can this be done.任何人都可以解释如何做到这一点。 If possible share some code snippet.如果可能,分享一些代码片段。

I did try below MuleSoft Official article from KB and it is working like a charm.我确实在 KB 的 MuleSoft 官方文章下方尝试过,它的效果非常好。

https://help.mulesoft.com/s/article/How-to-connect-to-a-DB-using-SSL-and-a-connection-datasource-in-Mule-4 https://help.mulesoft.com/s/article/How-to-connect-to-a-DB-using-SSL-and-a-connection-datasource-in-Mule-4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM