This document describes how to install and configure DogTag, an open source Certificate Authority (CA) server, to work with the Identity Services Engine (ISE) in order to onboard Bring Your Own Device (BYOD). In order to onboard BYOD devices with ISE, you must enable a Simple Certificate Enrollment Protocol (SCEP) server on a CA or a Remote Authority (RA) if Extensible Authentication Protocol-Transport Layer Security (EAP-TLS) authentication is required. Network Device Enrollment Service (NDES) on Windows 2008 R2 is the only server that is known to work with ISE that uses the correct implementation of the SCEP Request For Comments draft.
Note: This document provides steps tested in the lab. The Cisco Technical Assistance Center (TAC) cannot support the installation and configuration of DogTag. These steps are provided as is in order to present an alternate option in case you are not able to use NDES. NDES remains the only fully-supported CA/SCEP server with ISE.
Cisco recommends that you have working knowledge of CA servers and Linux.
The information in this document is based on these software and hardware versions:
A host that runs Fedora 15 with Internet connectivity. DogTag 10 does not work for this purpose.
The Fully Qualified Domain Name (FQDN) of the host should be resolvable with a Domain Name Server (DNS).
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Install and Configure Dependencies
Install 389-DS and PHP
The main dependency of DogTag is the 389-Directory Server (DS). The rest of the dependencies are installed by Yellowdog Updater, Modified (YUM).
Before you start the process, use the yum update command in order to have YUM update the system.
In order to install and configure 389-DS, use this command:
yum install 389-ds
This command installs all 389-DS dependencies as well as HTTPD. In order to configure 389-DS, enter these commands.
useradd ds389 /usr/sbin/setup-ds.pl
The setup-ds.pl script guides you through the configuration, and you usually can accept all the defaults. Verify the port (389 by default), the administration DN (cn=Directory Manager by default), and the administration password.
In order to install PHP, enter this command:
yum install php
In order to ensure that DogTag works with ISE, run a small PHP script. These commands ensure that 389-DS and HTTPD work and are ready to start.
service httpd start service dirsrv start chkconfig dirsrv on chkconfig httpd on
In order to install DogTag, enter this command:
yum install pki-ca
This command installs DogTag and all its dependencies. In order to configure the CA instance, enter this command.
This command creates an instance called ISE-CA and the main ports for it are 9447 (for GUI access) and 9180 (for SCEP request). You can modify the values for your needs, but ensure that you replace the new values throughout the document. The value that you select for the -pki_instance_name option is referenced in the rest of the document as the instance-name.
After the instance is created, the script provides the URL to configure the instance. Copy and paste the URL into a browser in order to continue with the configuration.
The configuration GUI is very well-designed with helpful text on every page. When you reach the PKI Hierarchy page (see Image 1), you must decide if you want this CA to be a root CA on its own or a SubCA in your current enterprise PKI setup. If you choose the first option, you can continue through each page and let the CA generate its own certificates.
Image 1 - PKI Hierarchy page
If you choose the second option and continue through the setup, you are required to generate the CA certificate from your enterprise CA on the Requests and Certificate page as shown in Image 2.
Image 2 - Requests and Certificates page
Generate a CA Certificate from the Enterprise CA
Click the Step 1 link, copy the Certificate Signing Request (CSR), and have your CA sign the request. Use a template like "Subordinate Certificate Authority" so that the certificate has the correct Key Usage and Enhanced Key Usage attributes.
Download the certificate from the CA in Base64-encoded format, open it in a text file, and copy the content. Click on Step 3 on the DogTag page, and paste the content there.
Download the CA certificate chain in PKCS#7 Base64-encoded format, open it in a text file, and copy the content. Click on Step 2 on the DogTag page, and paste the content there.
Click Apply. The page changes in order to show that the rest of the certificates were generated by the CA.
Click Next, and continue with the configuration.
When you reach the end of the configuration, the server provides the command to restart the services and the URL for the Admin GUI. The process also installs an admin user certificate on your browser. You need that certificate in order to manage the CA form GUI.
Once you restart the service, log in to the CA URL, and verify that you are able to access the Agent Services section.
Enable SCEP and Finalize Setup
Open the /etc/<instance-name>/CS.cfg file in a text editor, and edit this line with these values.
If you changed the unsecure port that the CA service listens on, replace the 9180 value in the previous text with the correct port number.
At this stage, you can add the CA as a SCEP server to ISE with this URL:
The test connection option on ISE might fail, but you can save the profile, and check the Certificate Store section in order to ensure that the CA certificate was downloaded with SCEP.
This section provides information you can use to troubleshoot your configuration.
Some PHP versions might require that you comment out the curl_setopt($ch, CURLOPT_POST, 1); line in the scepproxy.php file. In order to comment out a line in PHP, add double forward slash (//) to the front of the line.
Make sure SELinux and IPTables do not cause a problem. In order to disable SELinux, use the setenforce 0 command. In order to disable iptables, use the service iptables stop command.