Integrating PAM360 with The SSL Store™ Certificate Authority
PAM360 facilitates end-to-end life cycle management of certificates obtained from trusted certificate authorities (CAs) by enabling users to acquire, consolidate, deploy, renew, and track certificates issued by commercial CAs from a single interface.
With PAM360's seamless API-based integration with The SSL Store™—one of the largest platinum partners of world's leading CAs—you will have the option to acquire and manage certificates from the following third-party CAs directly using PAM360: Sectigo (formerly Comodo), Symantec, and Digicert.
Before you proceed with the integration, complete the following step as a prerequisite:
Prerequisite
Add the following base URL and port as an exception in your firewall or proxy to ensure PAM360 is able to connect to the SSL Store's CA Services.
URL: https://api.thesslstore.com/rest/
Port: 443
Follow the steps below to place certificate orders, acquire, consolidate, deploy and manage trusted third-party CA certificates from PAM360.
- Configuring API authentication credentials in PAM360
- Placing a certificate order
- Domain control validation, certificate issue and deployment
- Renewing, reissuing and deleting certificate orders
1. Configuring API Authentication Credentials in PAM360
The first step to request and manage third-party CA certificates from PAM360 is to sign up for an exclusive enterprise account at The SSL Store™ portal and configure the API credentials generated subsequently in PAM360's interface. To set up an Enterprise account with The SSL Store™,
- Navigate to this enterprise sign up link in The SSL Store™ website. Proceed through the sign up link for Key Manager Plus.
- Fill in your personal details and organization details as requested, and click Continue.
- You will then be taken to the Setup Payment section where you need to configure a payment method, and provide the payment details and billing information.
- After providing the details, click Continue.
- You will be redirected to the Confirmation/Token section where the API credentials (Partner ID and Token) are displayed. Copy and save the credentials in a secure location.
- Now, switch to the PAM360 server and navigate to Certificates >> The SSL Store™ tab. Click Manage in the top-right corner of the window.
- Under the Accounts tab, provide the generated partner code and token, and click Save.
- The details are stored in PAM360. Configuring API authentication credentials is a one-time process. You do not need to provide the details every time you place a certificate order.
2. Placing a Certificate Order
Once you have configured your API authentication credentials, you can leverage The SSL Store™'s API to generate certificate signing requests (CSRs), place orders, procure, and manage certificates from any of the following certificate authorities directly from PAM360: Sectigo, Symantec, and Digicert.
To generate a CSR and place a certificate order,
- Navigate to the Certificates tab >> The SSL store™.
- Click Order Certificate.
- In the window that opens, choose the vendor, validation type, product name, domain validation type and validity.
- PAM360 supports all the three domain control validation methods: DNS-based, file-based and email validation.
- Then, provide the common name, algorithm length, keystore type, keystore password, number of servers in which the certificate will be deployed, server type and the approver's email IDs. Users also have the option to import and use an already existing CSR or private key.
- The approver email ID is the email ID to which Domain Control Validation (DCV) verification mail will be sent. The approver email ID should take either of the following formats:
- <admin@domain>, <administrator@domain>, <hostmaster@domain>, <webmaster@domain> or <postmaster@domain>
- Any administrator, registrant, tech or zone contact email address that appears on the domain’s WHOIS record and is visible to the CA system.
- Then, provide the organization details(applicable for organization validation and extended validation order types only), administrator contact details and contact details of the technician placing the certificate order.
- After filling in the details, click Create.
- You will be taken to a window where you can see the list of certificate orders placed along with their statuses displayed to the right of the table view.
- PAM360 allows you to import the already existing certificate orders placed within your account from The SSL Store™ and track their statuses. Click Import Existing Orders from the More top menu to import the existing open orders into PAM360.
- Also, you can preconfigure your organization details under Manage to refrain from providing it every time you place an OV / EV certificate order.
2.1 Configuring your DNS account
If you are opting for DNS-based domain validation in the certificate order, you should configure the DNS account in PAM360 and specify it in the DNS field in the order to automate the challenge verification procedure. To configure your DNS account,
- Navigate to Certificates >> The SSL Store™ >> Manage.
- Switch to the DNS tab. Click Add and in the pop-up that opens, choose the DNS provider.
- Here, you can add a maximum of one DNS account for each supported DNS provider. PAM360 currently supports automatic domain control validation for Azure, Cloudflare DNS, Amazon route 53 DNS, RFC2136 DNS update (nsupdate), GoDaddy DNS, ClouDNS.
2.1.1 For Azure DNS
- Provide the Subscription ID, which is available in the Overview page of the Azure DNS zone.
- Provide the Directory ID, which is available in Azure Active Directory >> Properties.
- If you have an already existing Azure application, provide its Application ID and Key.
- If not, follow the steps mentioned below to create the Azure application and key, and give the application access to the DNS zones for making API calls.
Follow the below steps to create the Azure application and key from the Azure console:
- Navigate to App registrations >> New application registration.
- Provide the application name, select the application type Web app / API and provide the sign-on URL. Click Create.
- After successful creation, you are directed to a window that displays the Application ID.
- To get the application key, navigate to Keys and create a key.
- Provide the key description, duration and click Save.
- Once the key is saved, key value is displayed. Copy and save the key value for future references.
To give the application access to DNS zones:
- Navigate to the resource group where all DNS zones are created or switch to a specific DNS zone.
- Switch to Access Control (IAM) and click Add.
- Choose the role as Contributor, assign access to Azure AD user, group or application, search and select the application created in Azure Directory and click Save.
- The created Azure application is now given access to DNS zones for making API calls.
- Now, enter the Resource Group Name, which is the group name in which you have created the DNS zone and click Save.
- Your DNS account details are saved and listed under Manage >> DNS.
- In the Email address field, specify the email address associated with the Cloudflare account.
- For Global API Key, use the 'Generate API' key option in the domain overview page of the Cloudflare DNS to generate the key and paste the value in this field.
- Click Save. Your DNS account details will be saved and listed under Manage >> DNS.
2.1.2 For Cloudflare DNS
Note: For DNS based domain validation type, if you are going to specify an already configured DNS account in the certificate order for domain control validation, make sure its status is marked Enabled under Manage >> DNS.
2.1.3 For AWS Route 53 DNS
- Generate and specify the Access Key ID and Secret associated with your AWS account.
- If you do not have an AWS account, create one and generate the Access Key ID and Secret by following the steps given below:
- Login to the AWS console and navigate to IAM Services >> Users.
- Click Add user.
- Provide the user name and select the access type as Programmatic access.
- Switch to the next tab, click Attach existing policies directly under Set Permissions and search for "AmazonRoute53FullAccess".
- Assign the policy that is listed and switch to the next tab.
- In the tags section, add appropriate tags (optional) and switch to the next tab.
- Review all the information entered and click Create user.
- The user account is created and subsequently, an access key ID and a secret is generated. Copy and save the key ID and secret in a secure location for it will not be displayed again.
- If you already have an AWS user account, you have to grant "AmazonRoute53FullAccess" permission to the user and generate the access key if the user doesn't have one. And if the user account has an access key associated already, it is just enough to ensure the required permission is granted.
To grant the required permissions,
- Navigate to the Permissions tab, select the required user account and click Add Permission.
- Click Attach existing policies directly under Set Permissions and search for "AmazonRoute53FullAccess".
- Assign the listed policy and hit Save.
- To generate the access key,
- Select the particular user account and navigate to the Security Credentials tab.
- In the window that opens, click Create access key.
- An access key ID and a secret is generated. Copy and save the key ID and secret in a secure location for it will not be displayed again.
2.1.4 RFC2136 DNS Update
If you are using open source DNS servers such as Bind, PowerDNS etc., that support RFC2136 DNS update, follow the steps below to automate DNS-based domain control validation procedure using PAM360.
- The DNS Server IP / Hostname represents the server name / IP address in which the DNS server is installed or running.
- The server details are found in the server installation directory. For instance, in the case of Bind9 DNS server, you can find these in the file named.local.conf in the server installation directory.
- Provide the Key Secret, which is the key content found in the server installation directory.
- Provide a name for the key, choose the signature algorithm and click Save.
2.1.5 GoDaddy DNS
If you are using GoDaddy DNS for DNS validation, follow the steps below to automate DNS-based domain control validation procedure using PAM360.
Steps to Obtain GoDaddy API Credentials:
- Go to the GoDaddy developer portal and switch to the API keys tab.
- Log in to your GoDaddy account if you aren't logged in already.
- Once you log in, you will be redirected to the API keys page where you can create and manage API keys. Click Create New API key.
- Provide your application name, choose the environment type as Production and click Next.
- The API key and its secret is generated. Copy and save the secret in a secure location, as it will not be displayed again.
Now, in the PAM360 interface, follow the below steps to add GoDaddy DNS to The SSL Store certificate repository:
- Navigate to Certificates >> The SSL Store and click Manage from the right most corner.
- Switch to the DNS tab and click Add.
- Choose GoDaddy from the DNS Provider drop-down menu.
- Enter the Key and Secret that was previously generated from the GoDaddy portal. Click Save.
2.1.6 ClouDNS
If you are using ClouDNS for DNS validation, follow the steps below to automate the DNS-based domain control validation procedure using PAM360:
Steps to Obtain ClouDNS API Credentials:
- Login to your ClouDNS account and go to Reseller API.
- If you have already created an API user id, you will find it under API Users. If not, click Create API to generate a new one.
Click here to learn more about ClouDNS API Auth IDs.
Now, in the PAM360 interface, follow the below steps to add ClouDNS to SSL Store CA:
- Navigate to Certificates >> SSL Store and click Manage from the right most corner.
- Switch to the DNS tab and click Add.
- Choose ClouDNS from the DNS Provider dropdown.
- Choose one of the following options: Auth ID, Sub Auth ID, Sub Auth User.
- Enter the chosen ClouDNS Auth ID, its respective Auth Password, and click Save.
2.1.7 DNS Made Easy
- Enter the name of your choice in the Name field.
- The Key and the Secret will be available in the DNS Made Easy webpage under Config >> Account Information. Enter those details in the respective fields.
- Now, click Save to save your DNS account details. The saved DNS details will be listed under Manage >> DNS.
3. Domain Validation, Certificate Issue, and Deployment
Prerequisite
If the end server in which you're deploying the challenge file is a Windows machine, follow the below steps to install the Windows agent:
- Navigate to Admin >> PAM360 Agents and click Windows Agent under the required version: 32-bit or 64-bit.
- Execute the following commands:
- Open the command prompt and navigate to the PAM360 agent installation directory.
- Execute the command AgentInstaller.exe install <Agent Key copied from the PAM360 UI>.
- Open the command prompt and navigate to the PAM360 agent installation directory.
- Execute the command AgentInstaller.exe stop.
Installing PAM360 agent for Windows server:
To install PAM360 agent as a Windows service,
To stop the agent and uninstall the Windows service,
Once the certificate authority receives your order, you will have to go through a process called Domain control validation (DCV) and prove your ownership over the domain upon the completion of which you will receive the certificate. PAM360 supports all the three DCV methods:
- E-mail based DCV
- File or HTTP based DCV
- DNS based DCV
3.1 Email-based Domain Control Validation
- In email based domain control validation, the certificate authority sends a verification email to the approver email ID specified when placing the certificate order.
- This email will guide you through the steps that need to be performed in order to complete the domain control validation procedure.
- After completing the steps, navigate to the PAM360 server, and switch to Certificates>>The SSL Store™ tab.
- Select the order and check Order Status from the top menu.
- On successful verification, the certificate authority issues the certificate which is fetched and added to PAM360's secure repository. To access the certificate, navigate to the Certificates tab.
- From here, deploy the certificate to necessary end-point servers such as a Certificate Store or an IIS server directly from PAM360.
Click here for more details on certificate deployment.
3.2 File/HTTP-based Domain Control Validation
- If you have opted file / HTTP based domain control validation, a challenge file is displayed on creating the order.
- Navigate to the domain server, create the path specified and deploy the challenge file in that path.
This entire process of deploying the challenge file in the end-point server can be automated from PAM360. This can be achieved by configuring the server details in the Deploy tab under Manage. To automate domain control validation,
- Navigate to Certificates >> The SSL Store™ >> Manage.
- Switch to the Deploy tab and click Add.
- In the pop-up that opens, choose the challenge type as 'http-01' , specify the domain name, choose the server type (Windows or Linux) and enter the server details. Click Save.
- The challenge file is automatically deployed to the corresponding end-server in the specified path.
- Once you have deployed the challenge file, navigate to the PAM360 server, switch to The SSL Store™ tab, choose the order and click Check Order Status from the top menu.
- On successful domain validation, the certificate authority issues the certificate which is fetched, added to the Certificates tab in PAM360 and is also deployed in the specified path of the server configured earlier under Manage >> Deploy.
3.3 DNS-based Domain Control Validation
- If you have opted for DNS based domain control validation, a DNS challenge value and text record are displayed on creating the order.
- Copy and paste the text records manually in the domain server.
Similar to the HTTP challenge, the entire challenge verification process can be automated from PAM360. This can be achieved by configuring the server details in the Deploy tab under Manage. To automate domain control validation,
- Navigate to Certificates >> The SSL Store™ >> Manage.
- If the end-server is a Windows machine, initially download and install the PAM360 agent for Windows server from the Windows Agents tab using the steps mentioned in the previous section.
- Switch to the Deploy tab and click Add.
- In the pop-up that opens, choose the challenge type as 'dns-01', specify the domain name, choose the DNS provider (Azure, Cloudflare DNS, Amazon route 53 DNS, RFC2136 Update, GoDaddy DNS, or ClouDNS) and enter the server details.
- Check 'Certificate' option to deploy the certificate to the end-server after procurement. Click Save.
- The DNS challenge values and text records are automatically created in the corresponding DNS servers.
- Once the challenges have been filled, navigate to the PAM360 server, switch to Certificates >> The SSL Store™ tab, choose the order and click Order Status from the top menu.
- On successful domain validation, the certificate authority issues the certificate which is fetched and automatically added to PAM360's certificate repository. To access the certificate, navigate to the Certificates tab.
- From here, deploy the certificate to the necessary end-point servers such as a Certificate Store or an IIS server directly from PAM360. Click here for more details on certificate deployment.
- Also, the certificate is automatically deployed to its corresponding end-server after issue, if you have enabled the Deploy Certificate option at the time of configuring server details under Manage >> Deploy.
- For DNS-based domain control validation, if you had chosen a DNS account configured under Manage >> DNS when placing the order, PAM360 automates challenge verification using that account. Instead, if you have already configured the domain and server details under Manage >> Deploy, the challenge verification, and subsequently the deployment of certificates is carried out for that specific domain and server alone.
- For RFC2136 DNS update, if you have chosen Global DNS configuration, the domain name itself acts as the zone name (Global DNS configuration is possible only if you are using the same Key Secret for all zones). Whereas, if you have chosen domain-agent mapping, you have to provide the Zone name, Key Name, and Key Secret for each domain separately.
Notes:
4. Renewing, Reissuing & Deleting Certificate Orders
You can renew, request reissue or delete certificate orders placed to third-party certificate authorities from PAM360.
To renew a certificate,
- Navigate to Certificate >> The SSL Store™
- Select the required order and click Renew Certificate from the top menu.
- Complete the domain control validation (DCV) procedure if necessary.
- On successful validation, the certificate is issued and the new version is automatically updated in the Certificates tab.
Note: You can request a reissue only for those certificates requested from PAM360 and not for the imported orders.
To delete a certificate request, follow the below steps
- Navigate to Certificates >> The SSL Store™.
- Select the required certificate and click Delete from the More menu.
- The certificate request is deleted from PAM360.
Note: When a certificate request is deleted, it is removed only from PAM360. You can find the order in The SSL Store™ website for your account and import it into PAM360 if needed using The SSL Store™ >> More >> Import option.
Disclaimer: The procurement of public CA certificates from PAM360 can be successfully completed only if the user has signed up for an exclusive enterprise account with The SSL Store™. PAM360 imports certificates after issue using The SSL Store™'s API for providing better PKI management functionality. All personal information (including payment details) is collected and processed by The SSL Store™ and ManageEngine is not responsible for any payment related issues. Please contact The SSL Store™ technical support team if you face any difficulties with payment and procurement of certificates from public CAs affiliated with The SSL Store™ using PAM360.