search cancel

HOW TO: License PGP Command Line

book

Article ID: 180234

calendar_today

Updated On:

Products

PGP Command Line PGP Key Management Server PGP Key Mgmt Client Access and CLI API PGP SDK Desktop Email Encryption Drive Encryption Encryption Management Server Endpoint Encryption File Share Encryption Gateway Email Encryption

Issue/Introduction

Before PGP Command Line can issue commands to encrypt/decrypt/sign or verify, it needs to be licensed on the server it is installed on.

The PGP Command Line product is licensed in the following ways:

*PGP Command Line is licensed per CPU, including cores. 

*If a server has 8 CPUs, an 8-CPU license needs to be purchased.

*If a server has 8 CPUs, with dual cores each, then a 16-CPU license needs to be purchased.

*PGP Command Line licenses allow for one Production and one Non-production per SKU purchased. 

*A Production Serer is defined as a system that is encrypting or decrypting production data for business operations.  A Disaster Recovery system is considered a Production server as its purpose is to handle production data.  

*A Non-Production server is defined as a server where you do "testing", and will not handle production data in any scenario. 

 

This article goes over the steps on how to license the PGP Command Line application.

 

For more information on FAQs for PGP Command Line, see the following articles:

153244 - HOW TO: Set the PGP_HOME_DIR variable for PGP Command Line

159237 - Using PGP Command Line with Symantec Encryption Management Server

Resolution

Using a License Number

In order to license the PGP Command Line product, the following commands can be used for the various versions:



Scenario 1 : PGP Command Line 10.3.2 MP8 and above
pgp --license-authorize --license-number "Your license here"

If you are replacing an existing license you will need to add the following switch at the end of the command: --force, which will replace the license number with the new one entered:

If you receive an output of pgp: license authorize (2706:PGP Command Line already has a license), this occurs when PGP Command Line was already authorized.  If you need to replace the license number, add the "--force" option to your command:

pgp --license-authorize --license-number "Your license here" --force




Scenario 2: PGP Command Line 10.3.0 to 10.3.2 MP7

pgp --license-authorize --license-name "Authorized User" --license-organization "Authorized Company" --license-number "Your license here" --license-email "Recovery Email here"

If you receive an output of pgp: license authorize (2706:PGP Command Line already has a license), this occurs when PGP Command Line was already authorized.  If you need to replace the license number, add the "--force" option to your command:

pgp --license-authorize --license-name "Authorized User" --license-organization "Authorized Company" --license-number "Your license here" --license-email "Recovery Email here" --force

Using a Manual License Authorization File (Legacy versions of PGP Command Line)

If you have both a license number and a license authorization (a text file) from PGP Corporation instead of just a license number, you need to enter the name of the license authorization file in the command.

You may need a license authorization if you are having problems authorizing your license number or if the system hosting PGP Command Line is not connected to the Internet.

Use --license-authorize to license PGP Command Line.



Scenario 3: PGP Command Line 9.5 to 10.1 (Manual license file bolded)

You will need to first create a text file and copy/paste the contents into this file.  Name the file "license-auth.txt":

-----BEGIN PGP LICENSE AUTHORIZATION-----
ADIAC5YAAKDskWq4rZS67+yoTc/iWaSyGIbDUgCgrX05EyNW4YUaVvPM4wf2kDSb+N0=
-----END PGP LICENSE AUTHORIZATION-----

Once this has been done, you will run the following command:

 

pgp --license-authorize --license-name "Authorized User" --license-organization "Authorized Company" --license-number "aaaaa-bbbbb-ccccc-ddddd-eeeee-fff" license-auth.txt --license-email "[email protected]"  

 

 

Additional Information

153244 - HOW TO: Set the PGP_HOME_DIR variable for PGP Command Line

180118 - HOW TO: Use PGP Command Line to Create and Manage PGP Keys

158454 - Using PGP Command Line

 

153399 - PGP Command Line license displays as "Invalid" on VMware systems

Attachments