Adobe Launch Library Hosting | BCS Adobe Launch Library Hosting | BCSBCS

Adobe Launch Library Hosting

Adobe Launch BCS 4 years ago (2019-11-28) 1417 Views 0 Comments

Table of Contents

Update time: July 26, 2023

In this section we mainly talk about Hosts, previously called Adaptors. Hosts define available destinations where the builds can be delivered. Where the library base is loaded from.

Click the corresponding Property to enter Launch, the interface is as follows:

Adobe Launch Library Hosting

There are two ways:

  • Managed by Adobe
  • SFTP

Managed by Adobe

This host type is the default selection and is simplest to manage. Is the official CDN of Akamai, loaded from assets.adobedtm.com. Which is our most commonly used method.

Launch has Akamai by default:

Adobe Launch Library Hosting

You don’t need to do other settings.

When you publish on Adobe Launch, it will update to CDN within 5 minutes at most.

 

SFTP

If you do not want to have Adobe manage your hosted libraries, your other option is to have Launch deliver builds to a secured SFTP server that you host.

That is, the tracking code is loaded from your own server. This method is not the default, we need to do some settings:

Click “New Host”,then you will see an interface to create the host:

Adobe Launch Library Hosting

  • Name, custom host name, usually using the domain name
  • Type: There are two options, “Manager by Adobe” and “SFTP”, we choose SFTP. After selecting SFTP, some new setting options will pop up below:

Adobe Launch Library Hosting

  • Host — The externally accessible hostname or IP address of the SFTP server. Set this to bbccss.com.
  • Path — The location relative to the launch sftp user’s root directory where Launch will deliver files. Set this to launch.
  • Port — The port of the SFTP server. Typically this is 22.
  • Username — The username of the SFTP user. Set this to launch.
  • Encrypted Private Key — The encrypted version of the private key from the pair whose public key was added to the launchuser’s

These need to be configured on the server. First log in to the server and go to the root directory.

Use the following code to create a folder, this file is the path to be filled in above, and is the place to put the launch tracking code.

mkdir launch

Add a user to this path, this is the SFTP User Name:

sudo useradd -d /home/wwwroot/default/launch -m launch

Test if the ID works:

id launch && ls -l /home/wwwroot/default/launch

 

The last step is to generate the Encrypted Private Key,

The Launch platform achieves this by utilizing GPG encryption and decryption. Using GPG, So we need to download, you can use the following code or visit https://developer.adobelaunch.com/api/guides/encrypting_values/ to get it.

wget https://developer.adobelaunch.com/files/launch@adobe.com_pub.gpg

Import the key:

gpg --import launch@adobe.com_pub.gpg

Encrypt values

echo -n 'Example value' | gpg --armor --encrypt -r "Adobe Launch Data Encryption <launch@adobe.com>"

Breaking down this command:

  • Input is supplied to the gpg command.
  • --armor creates ASCII-armored output instead of binary. This simplifies transferring the value through JSON.
  • --encrypt instructs GPG to encrypt the data.
  • -r sets the recipient for the data. Only the recipient, the holder of the private key that corresponds to the public key, may decrypt the data. The recipient name of the desired key may be found by examining the output of gpg --list-keys.

Then a secret key will appear, copied to the Encrypted Private Key

Adobe Launch Library Hosting

 

 


If you don't understand, You can leave a comment below.
Like (0)
Post my comment
Cancel comment
Expression Bold Strikethrough Center Italic

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website