How to install existing PFX Certificate?

How to install existing PFX Certificate?

Summary

This article will guide you through the process of applying a multi-domain or wildcard certificate (PFX) in ADSelfService Plus.

Configuration steps

Step 1: Enable HTTPS in ADSelfService Plus

enable-https-in-adselfservice-plus

  1. Log in to ADSelfService Plus with admin credentials.
  2. Navigate to AdminProduct SettingsConnection.
  3. Check the Enable SSL Port [https] box.
  4. Click Save.

Step 2: Generate CSR

Note: If you already have an SSL certificate, skip to Step 4.
      1. Click the SSL Certification Tool button.
How to install existing PFX Certificate
      2. Click Generate Certificate and fill in all the necessary fields. Refer to the table below:
Common nameThe name of the server in which ADSelfService Plus is running.
SAN NameThe names of the additional hosts (sites, IP addresses, etc.) to be protected by the SSL certificate.
Organizational UnitThe department name that you want to appear in the certificate.
OrganizationThe legal name of your organization.
City The city name as provided in your organization’s registered address.
State/ProvinceThe state/province as provided in your organization’s registered address.
Country CodeThe two-letter code of the country in which your organization is located.
Password
A password must be at least six characters. The more complex the password, the better the security.
Validity (In days)
The number of days the certificate should be valid. If no value is provided, it will be set to 90 days.
Public Key Length (In bits)
The public key length. The larger the size, the stronger the key. The default size is 1024 bits and can be incremented only in multiples of 64.

How to install existing PFX Certificate      3. Once you’ve entered all the details, click the Generate CSR button.

Step 3: Submit the generated CSR file to your Certification Authority

  1. When you click the Generate CSR button, two files—SelfService.csr and SelfService.keystore—will be generated.
  2. You can locate the SelfService.csr file in <Installation_directory>\webapps\adssp\certificates folder and the SelfService.keystore file in <Installation_directory>\jre\bin folder.
  3. Submit the SelfService.csr file to your Certification Authority (CA).

Step 4: Bind the CA-signed certificates with ADSelfService Plus

Option 1: Using the admin portal
  1. Go back to AdminProduct Settings Connection.
  2. Click SSL Certification Tool at the next to HTTPS
  3. Select Apply Certificate.
  4. Click Browse to upload the certificate.
  5. In Certificate Password field, enter the password of the uploaded certificate.
  6. Click Apply.How to install existing PFX Certificate
Option 2: Manual
  1. Back up the server.keystore, SelfService.p12, server.xml, and web.xml files located at <Installation_Directory>\conf folder (Default location: C:\ManageEngine\ADSelfService Plus\conf).
  2. Copy the certificate file, say cert.pfx, and paste it under the <Installation_directory>\conf folder (Default location: C:\ManageEngine\ ADSelfService Plus\ conf).
  3. Open the server.xml file, located in the <Installation_directory>\conf folder, in a text editor. Scroll down to the end of the file where you’ll find a connector tag as shown below:
<Connector SSLEnabled="true" ……
/>
      4. Modify the following properties:
               i. Replace the value of keystoreFile with ./conf/cert.pfx
              ii. Replace the value of keystorePass with the password of your PFX certificate.
           For example:
<Connector SSLEnabled="true" acceptCount="100" clientAuth="false" connectionTimeout="20000" debug="0" disableUploadTimeout="true" enableLookups="false" keystoreFile="./conf/cert.pfx" keystorePass="********" keystoreType="PKCS12" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" name="SSL" port="9251" scheme="https" secure="true" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" sslProtocol="TLS"/>
      5. Restart ADSelfService Plus, and check if the certificates are installed correctly.
Note: The Endpoint MFA feature will be accessible after installing the SSL certificates only if the Protocol option has been set to HTTPS under Configure Access URL (Admin > Customize > Product Settings > Connection > Connection Settings > Configure Access URL).


                  New to ADSelfService Plus?