Hi Raja,
The issue is existing for new Profiles I create.
Iam using IBM provided API.
When i read from API, values are coming properly but when I View from IBM SI dashboard, below error comes:
[2020-02-20 07:12:11.396] ERROR Exception decrypting passphrase
[2020-02-20 07:12:11.396] ERROR [1582204331395] Given final block not properly padded
[2020-02-20 07:12:11.396] ERRORDTL [1582204331395]javax.crypto.BadPaddingException: Given final block not properly padded
at com.ibm.crypto.fips.provider.at.a(Unknown Source)
at com.ibm.crypto.fips.provider.at.b(Unknown Source)
at com.ibm.crypto.fips.provider.at.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.sterlingcommerce.security.control.SCISymmetricCipher.doFinal(SCISymmetricCipher.java:701)
at com.sterlingcommerce.security.provider.SCIPBEWrapper.decrypt(SCIPBEWrapper.java:204)
at com.sterlingcommerce.security.opsutilities.DBPasswords.decryptPassphrase(DBPasswords.java:149)
at com.sterlingcommerce.security.opsutilities.DBPasswords.decrypt(DBPasswords.java:215)
at com.sterlingcommerce.woodstock.ssh.db.SftpProfile.getREMOTE_PASSWORD(SftpProfile.java:171)
at com.sterlingcommerce.woodstock.ui.jspbean.SFTPKeysListBean.displayKeyInfo(SFTPKeysListBean.java:1172)
at org.apache.jsp.jsp.sftpkeysinfo_jsp._jspService(sftpkeysinfo_jsp.java:186)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
Iam not giving different password - it is simple alphanumeric one like si52...
Can you please let me know how to resolve this error/issue. PFA full logs.
Thanks.
------------------------------
Justin Prabhu
------------------------------
Original Message:
Sent: Wed February 12, 2020 05:11 AM
From: Rajasekhar Muthamsetty
Subject: SFTP Remote Profile View/Edit page issue in IBM B2B Sterling integrator 6.x
Hi Justin,
I hope you used the IBM provided API interface to create SFTP profile. Can you try to use API to read or update the profile details and see what you get/happen.
-- Raja
------------------------------
Rajasekhar Muthamsetty
Original Message:
Sent: Tue February 11, 2020 08:17 AM
From: Justin Prabhu
Subject: SFTP Remote Profile View/Edit page issue in IBM B2B Sterling integrator 6.x
Hi ,
For SFTP, I am trying to implement SSH Remote profile functionality with password authentication through API .
I was able to create remote profile successfulyy.
However, When Iam viewing created remote profile in IBM SI dashboard, I get the error attached.
I could not find related information in logs like System.log in SI dashboard/Operations->System->Logs section/System logs.
2. On edit of the same profile, The Edit page does not show profile name,password details
and authentication type is shown incorrectly as Public key although in DB table,it is stored as password.
Could you tell how to resolve this issue.
It will be helpful if early response is got as I have a client demo shortly.
------------------------------
Justin Prabhu
------------------------------
#SupplyChain
#B2BIntegration