Rank: Advanced Member
Groups: Authorized User, Developers Joined: 5/30/2020(UTC) Posts: 125
Thanks: 14 times Was thanked: 3 time(s) in 3 post(s)
|
Beginning to work on migrating one of our stores from AC 7.0.7 to AC 9.0.3. When you export the key from AC7, you get two keypart.bin files. When you import in AC9, it is only asking for 1 file. What is the correct way to import the Encryption Key?
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
There was the same problem in Able Gold. Gold only imported 1 key file but AC7 exported two files. Try using just the first bin file.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 5/30/2020(UTC) Posts: 125
Thanks: 14 times Was thanked: 3 time(s) in 3 post(s)
|
Joe, sorry, I missed this reply from almost a month ago. Thanks for the suggestion. I am a bit nervous about trying it because both bin files are different and I don't want to do anything to corrupt the data or make it unreadable. Is there a way to combine the bins? Would copying the ~/App_Data/encryption.config to the new site be the equivalent of uploading the keypart bin files?
|
|
|
|
Rank: Administration
Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered Joined: 10/5/2018(UTC) Posts: 175
Thanks: 8 times Was thanked: 17 time(s) in 15 post(s)
|
How you managed to migrate from AC7 to AC 9.0.3? This must require an indirect path before 9.0.4 where you have to upgrade to gold r12. Then upgrade the r12 install to 9.03. If that's the path you took then you must backup the key again when migrating from gold r12 to 9.0.3. This way you can combine the multiple keys into a single key when you export back from gold.
In 9.0.4 we are supporting a direct restore from 7.0.3 to 9.0.4 but looks like we missed the ability to restore multiple keys as they were in gold. I am going to open a new report to look into this.
|
|
|
|
Rank: Administration
Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered Joined: 10/5/2018(UTC) Posts: 175
Thanks: 8 times Was thanked: 17 time(s) in 15 post(s)
|
Here is a PowerShell script to combine the backup key parts into a single backup file. - Place the combine.ps1, keypart1.bin, and keypart2.bin into a directory on your computer.
- Right-Click combine.ps1 script and choose to Run With PowerShell
- Once the script finishes, it will generate a key.bin file in the same directory.
- Use this newly generated key.bin file to restore the encryption key in AbleCommerce9.
You can download the PowerShell script from here. The detailed instructions along with MD5 hash for the this download can be seen here. Edited by user Wednesday, April 14, 2021 2:33:00 AM(UTC)
| Reason: Not specified
|
1 user thanked mazhar for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close