Symptoms
Encryption key generation in PBA Provider Control Panel fails with the following error message:
ERROR: duplicate key value violates unique constraint "PKey_PK"
Cause
The sequence in PBA database is not in sync with the already existing IDs, the system attempts to insert already existing value. It might happen as a result of earlier manual modification (e.g. key was accidentally dropped from PCP and it was needed to reupload it with database modifications).
Resolution
Contact the Parallels Support Team to resolve the problem.