1,问题描述
SAP 调用webservice时发生一个错误ICM_HTTP_SSL_PEER_CERT_UNTRUSTED
SRT:Processing error in Internet Communication Framework:("ICM_HTTP_SSL_PEER_CERT_UNTRUSTED")
<img class="alignnone size-medium wp-image-6421" src="//pic.ikafan.com/imgp/L3Byb3h5L2h0dHAvd3d3LmJhaWR1c2FwLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxOS0wNS0zMV8xMy0zMS00MC03NDB4MzExLmpwZw==.jpg" width="740" height="311" srcset="http://www.baidusap.com/wp-content/uploads/2019-05-31_13-31-40-740x311.jpg 740w, http://www.baidusap.com/wp-content/uploads/2019-05-31_13-31-40-768x323.jpg 768w, http://www.baidusap.com/wp-content/uploads/2019-05-31_13-31-40.jpg 931w" sizes="(max-width: 740px) 100vw, 740px" />
2,问题解决
查看了一下逻辑端口的配置,发现URL写的是HTTPS,也就是说SAP服务器上需要相应SSL证书的,猜测是服务器上缺少这个证书导致了ICM_HTTP_SSL_PEER_CERT_UNTRUSTED的发生。
然后直接将https改成http并且直接使用IP,问题解决。。。
逻辑端口修改前,
<img class="alignnone size-medium wp-image-6422" src="//pic.ikafan.com/imgp/L3Byb3h5L2h0dHAvd3d3LmJhaWR1c2FwLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxOS0wNS0zMV8xMy00MC0xMy03NDB4NDU1LmpwZw==.jpg" width="740" height="455" srcset="http://www.baidusap.com/wp-content/uploads/2019-05-31_13-40-13-740x455.jpg 740w, http://www.baidusap.com/wp-content/uploads/2019-05-31_13-40-13-768x472.jpg 768w, http://www.baidusap.com/wp-content/uploads/2019-05-31_13-40-13.jpg 817w" sizes="(max-width: 740px) 100vw, 740px" />
修改后,
<img class="alignnone size-full wp-image-6423" src="//pic.ikafan.com/imgp/L3Byb3h5L2h0dHAvd3d3LmJhaWR1c2FwLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxOS0wNi0wNF8xMy01OS01OC5qcGc=.jpg" width="706" height="243" />
以上。
原文地址:https://www.cnblogs.com/datie/p/11428472.html