Platform Upgrade Private Key File Error

Platform Upgrade Private Key File Error

  

I am currently upgrading Outsystems Platform Server-8.0.1.7 to Version 10.0.405.0 on the same server and here is what I did.

1. Uninstall Platform Version 8.0.1.7

2. Installed the Version 10.0.405.0.

3. Input the Necessary DB Credentials in the Configuration Tools.

4. Test Connections (Everything was fine).

5. Click Create/Upgrade Database and I got this Error


This Server and the configured database have different encryption keys. Copy the private.key from the Outsystems installation of a machine that was connected to this database and try again.


How do I recover the old private.key? base from the my research it should be somewhere C:\Program Files\OutSystems\Platform Server, but i could not find the old private.key. Is there any way to get this private.key file or any suggestion on how to solve this.

This is solve. Thank you

Hi,

I'm having the same issue. What did you do to resolve this?

We have the same problem, does anyone have a solution?


Jannie du Toit wrote:

We have the same problem, does anyone have a solution?


I got it to work by uninstalling everything and starting from scratch.


Solution

Jannie du Toit wrote:

We have the same problem, does anyone have a solution?


Execute the ff: Script

delete from ossys_parameter where name = 'ClientApplicationToken';
delete from ossys_parameter where name = 'privateKeyValidation';
delete from ossys_Parameter where name = 'OutSystems.HubEdition.MobileLogin_AuthenticationHMACKey';
delete from ossys_Parameter where name = 'OutSystems.HubEdition.MobileLogin_AuthenticationEncryptKey';
delete from ossys_dbconnection;


After executing the script restart the APP Server. Then reconfigure the Configuration Tool.



Solution

Thanks a million Michael, it worked beautifully!