When attempting to create temporary offline permission for PGP Endpoint, you receive an error similar to the following:
Error 48 While getting unlock code from SXS
Decryption of the security code failed
This error occurs when your public and private keys are generated after the initial start of the application server. Thereby causing your server to use your private key while the server encryption has been encrypted with the hard-coded private key.
During the initial start of the server, a server encryption key is created for managing the offline permissions communication. This key is encrypted with the sx-private.key. By default, if no sx-private.key has been generated the hard-coded private-key is used.
To solve this issue, run the following on the SX-database using the SQL Server Query Analyzer.
delete from serverkeys
delete from globalmachineoptions where optid=62
This SQL script removes the key so a new server encryption key is generated when the PGP Endpoint Application Server service is restarted and then encrypted with your private key.
After the script completes, restart the PGP Endpoint Application Server service on the system.
Rate this Article
This is machine translated content
Login to Subscribe
Please login to set up your subscription.
Didn't find the article you were looking for? Try these resources.