We are trying to create a replica of our existing access manager. It's version is 3.2.2. We have just install base OS (SUSE 11.2) provide same hostname and IP address of the original one. Now we have installed the basic Access manager installation.

Now while we are going to restore ambackup. It is showing following errors;



================================================== ============
C o n f i g u r a t i o n B a c k u p U t i l i t y
================================================== ============
- - - - - - - - - - - Performing restore - - - - - - - - - - -
Tue Apr 2 17:49:49 IST 2019
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
We are not in DHost. pid = -1985756760
javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.CipherCore.doFinal(CipherC ore.java:811)
at com.sun.crypto.provider.CipherCore.doFinal(CipherC ore.java:676)
at com.sun.crypto.provider.PBECipherCore.doFinal(PBEC ipherCore.java:422)
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.eng ineDoFinal(PBEWithMD5AndDESCipher.java:316)
at javax.crypto.Cipher.doFinal(Cipher.java:2087)
at com.novell.nids.bkuputil.Util.decrypt_file(Unknown Source)
at com.novell.nids.bkuputil.Util.work(Unknown Source)
at com.novell.nids.bkuputil.Util.main(Unknown Source)
4/2/19 5:49 PM AM#201004001: Command failed.
Options:
-unprotect
-pwd **********
-file /root/am_bkp/kseb_dr_amidty_dns_ap101_20190325_1202.ldif

----------------
**** Error *************** Error *************** Error ****
AM#201002002: Failed to decrypt the backup file.
FAILED to restore. Please verify
IP Address: 10.2.28.73
LDAP Port: 636
Administrator id: cn=admin,o=novell
Administrator Password:
Backup path: /root/am_bkp
Backup file: kseb_dr_amidty_dns_ap101_20190325_1202
eDirectory Server:
Certificate Encryption Phrase:
**** Error *************** Error *************** Error ****


Please help.