本任务主题说明如何配置 HTTPRequest 节点,以便使用基于 SSL 的 HTTP 与其他应用程序通信。其中包含 Windows 系统所需的步骤,但其他任何平台所需的任务也基本相同。要完成 HTTPRequest 任务,需要 HTTPS 服务器应用程序。为了简便,此处提供的唯一详细信息适用于将 SSL 的 HTTPInput 节点用作服务器应用程序。但是,当使用任何其他服务器应用程序时,相同的详细信息也适用。
cd "%MQSI_FILEPATH%\jre\lib\security"
要修改自签证书文件,必须使用密钥工具命令。
"%MQSI_FILEPATH%\jre\bin\keytool" -import -alias mykey -file name of certificate file -keystore cacerts -keypass changeit
"%MQSI_FILEPATH%\jre\bin\keytool" -export -alias tomcat -file name of certificate file -keystore keystore file -keypass changeit