"Fetch" 的 DataPower SSL 配置导致“无法获取 SSL 配置文件”

DataPower SSL config for "Fetch" results in "unable to get SSL Profile''

我们在 GitHub 上托管了一个 javascript 文件,我想获取该文件:

错误日志:

172416  cli error   320673          0x81000224  === Line 2: copy -f https://raw.githubusercontent.com/mmxxxxx/abc/master/shim_mpgw_mapping.js store:///js/shim_mpgw_mapping.js
172416  audit   error   320673          0x82400020  (admin:default:web-gui:10.106.170.13): (config)# copy -f https://raw.githubusercontent.com/mm58169/datapower7/master/shim_mpgw_mapping.js store:///js/shim_mpgw_mapping.js
172416  audit   error   320673          0x8240002e  (admin:default:*:*): Copying file "https://raw.githubusercontent.com/mm58169/datapower7/master/shim_mpgw_mapping.js" to "store:///js/shim_mpgw_mapping.js" failed
172416  cli error   320673          0x810002e7  File copy failed - destination URL could not be opened: store:///js/shim_mpgw_mapping.js
172416  file    error   320673          0x8100015c  Copying file "https://raw.githubusercontent.com/mm58169/datapower7/master/shim_mpgw_mapping.js" to "store:///js/shim_mpgw_mapping.js" : failed
172416  system  warning 320673          0x8040000a  destination URL could not be opened: store:///js/shim_mpgw_mapping.js
172416  network error   31711           0x80e0005a  Cannot establish SSL credentials (credential is NULL), URL: 'https://raw.githubusercontent.com/mm58169/datapower7/master/shim_mpgw_mapping.js'.
172416  network warning 31711           0x80e00058  SSL connection to 'https://raw.githubusercontent.com/mm58169/datapower7/master/shim_mpgw_mapping.js' failed, unable to get SSL Profile ''
172416  network warning 31711           0x80e00058  SSL connection to 'https://raw.githubusercontent.com/mm58169/datapower7/master/shim_mpgw_mapping.js' failed, unable to get SSL Profile ''

这应该与 TLS 选择有关,比如 DataPower service configuration variable called var://service/tls-info, or serviceVars.tlsInfo,可能设置不正确。

然后您必须定义一个 SSL client profile(它保护 DataPower Gateway 与其目标之间的连接)

@VonC 是正确的,您需要一个 SSL 客户端配置文件。您需要将其添加到服务的 User Agent 中:

Fetch 操作会将文件下载到您的 DataPower local:/// 文件系统,因此您不妨手动下载并上传到 DataPower 实例...