Generate and install GPG keys for data encryption

Last update: 2023-09-22
  • Created for:
  • Experienced
    Admin

Control Panel allows you to encrypt data coming out from your Adobe Campaign instance. Learn how to generate and install a public/private key pair on a specified Campaign instance for the encryption of outbound data.

 Transcript

In this video, I will show you how to install a GPG key that you can use to encrypt data that is leaving your - Adobe Campaign instance to securely pass the - information from Adobe Campaign to an outside system. The encrypting data leaving Adobe Campaign is a three-step process. First, you need to generate - a GPG key pair outside, so you can use your computer, - or you can use a PGP utility to generate that private public key pair. In the second step, you need to take the public - key that you have generated and submit it and install it via Adobe Campaign control panel. And finally, in the last step, - in your Campaign instance, you will need to select - the key for encryption in the Extract File activity, in order to encrypt the data - with that particular key. To get us started, navigate - to Campaign control panel, and navigate to GPG Keys tab. Select the instance that you - would like to be working with. And in here you’ll need to install the key by using the Install Key button.

Before you’re able to install the key, you need to generate the key. You can generate the key - using like I mentioned, a GPG utility. I have a Mac computer and - I will be using my terminal to generate the key. So I ran a command GPG Full Generate Key.

This command will generate the key, but I have to provide a few options, such as I need to specify that the key will be RSA encryption and I will be using 3072 bit long keys. I will set the keys to never - expire and I will confirm, yes, indeed, I want them - never to be expired. And here I will get - prompted to provide my name and my email address. So in here you can - provide the email address of the receiving side. So for example, a partner email address, or the outside system email address. It’s really important to put something in the comment section. This is how you will - recognize which key to use. So I will quickly mention that it’s a video tutorial demo key, and this is how when - I will select the key, I will be able to recognize the key, either with this comment - or by a fingerprint.

Now I’m prompted to set a passphrase for this public/private key pair. That’s additional level of security. So I enter a passphrase and then repeat the - passphrase and confirm. And in this case, I am being told that there’s a - not a very secure passphrase, but for the purposes of the - demo I will ignore the message. Now you’ll see the key got created and I’m immediately provided - with a fingerprint of the key. Now, in order to install the key to Adobe Campaign control panel, you actually first need to export the key. So I’m going to run a - command to export the key, or I can go to my key chain - and find the key there and then install that key via - Adobe Campaign control panel. So as I ran the command, - terminal shows me the public key. It is important to copy - the entirety of the key in order to install the key - via the Campaign control panel. So I make sure to copy everything.

Now, I navigate back to - Campaign control panel, click on the Install Key button, and I paste the key here.

Once I pasted the key, I can see that the Install Key button now has been shining blue, which means that the key is accepted.

Once I install the key, I can see in the UI that the key shows in the list - of the keys that is installed with the comment and the fingerprint. -

On this page