Skip to Content
0
Former Member
Sep 30, 2010 at 02:17 PM

Howto use SSL-2 (https) and .pfx certificate in SOAP cc - padding error!

279 Views

I'm working on a rfc to soap scenario in PI 7.1, and I must connect PI to some external web services through https.

We must use a two-sided SSL connection (SSL-2), we received a .pfx certificate to achieve this.

SAP Basis installed the certificate in the (java)nwa. In the SOAP communication channel i can choose the installed ceritifcate when i set the 'Configure Certificate Authentication'. Tried this, got the "error: iaik.security.ssl.SSLException: Padding length error: 106"

Other option tried is to set the 'Select security profile'and choose Web Services Security. Then in the receiver agreement i can set the certificate for the encryption and/or decryption. Various scenario's tried, not succesful. We've seen that the pfx certificate contains two certificates (private and public one). But in the receiver agreement there is no choice between those two, we can only select the .pfx

We also added a user with transaction EXTID_DN. Still got the same error.

Does somebody have a suggestion what to do? Must we split the .pfx certificate in two separate files/certificates? Do we use the incorrect DN/CN in the EXTID_DN?