Error 48 or Decryption of the security code failed

Article:TECH149295  |  Created: 2009-02-27  |  Updated: 2012-01-30  |  Article URL http://www.symantec.com/docs/TECH149295
Article Type
Technical Solution

Issue




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.


Solution




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.

use sx
delete from serverkeys
delete from globalmachineoptions where optid=62
go


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.



Legacy ID



1206


Article URL http://www.symantec.com/docs/TECH149295


Terms of use for this information are found in Legal Notices