abap中调用远程webservice时,提示:ICF Error when receiving the response: ICM_HTTP_SSL_ERROR,造成这个问题的原因有很多种,其中之一就是远程webservice提供的证书过期。下面是导入证书的步骤:
Importing StreamWork SSL certificate into ABAP systems
This article describes how to import StreamWork SSL certificates into ABAP systems to be able to make HTTPS requests to the Integration API.
Step 1: Exporting the Certificate
Internet Explorer
- Go to streamwork.com/session/new (or any other instance running StreamWork you want to access from your system).
- Click on the lock icon in the right corner of the address bar. A window showing certificate information will pop up.
- Select the "Details" tab and click on "Copy to File".
- Export the certificate using the DER binary format.
Mozilla Firefox
- Go to streamwork.com/session/new (or any other instance running StreamWork you want to access from your system).
- Click on the area highlighted in green in the left corner of the address bar. A summary of the encrypted connection will be shown. Click on "more information".
- A new window containing page information will be shown, with the "Security" tab selected. Click on "View Certificate".
- The certificate information will be shown. Select the tab "Details" and click on "Export".
- Export the certificate using the DER binary format.
Step 2: Importing the Certificate
- Connect to your SAP system and start the transaction STRUST.
- Within STRUST, double click on the "SSL client SSL Client (Anonymous)" entry in the tree view.
- Import the certificate by using the "Certificate → Import" menu on the top.
- Select the certificate you've previously exported.
- The certificate information will now be shown to you. Now click on "Add to Certificate List" to add it to your system.
- Save the transaction.