Summary
In some circumstances, customers download SSL certificates provided by third-party certificate authorities that do not provide the .pfx file needed to import into ArcGIS Server Admin. In these situations, customers must manually convert the downloaded files, then import the certificate into IIS to obtain the .pfx.
Procedure
The following steps cover manually downloading the file from the certificate authority, converting it to a .cer, importing and installing the certificate, binding it to the appropriate port, then exporting the .pfx and importing it into Server admin:
- Download the new certificate from the desired Certificate Authority.
- Convert the .crt file to a .cer file.
- Locate the downloaded .crt file, and double-click it to open it.
- Select the Details tab, and click Copy to File.
- Select Next in the Certificate Wizard.
- Select Base-64 encoded X.509(.CER) and click Next.
- Select Browse to choose where to save the .cer file and give it a name.
- Select Next and click Finished.
- Copy the certificate files onto the server.
- Find the directory on the server where certificate and key files are stored, and upload the intermediate certificate (xxxxx.p7b or similar) and primary certificate (.cer file that was just converted) into that folder.
- Import the Intermediate SSL Certificate.
- In the Microsoft Management Console (MCC), click ▶ to expand Certificates (Local Computer).
- Right-click the Intermediate Certification Authorities folder, hover over All Tasks, and click Import.
- In the new window, click Next.
- Click Browse, find the .p7b intermediate certificate file, and click Open.
- Click Next and click Finish.
- Close the Import was successful message.
- Install the SSL certificate.
- Launch the Internet Information Services (IIS) Manager.
- Under the Connections panel on the left, click the Server Name.
- In the main panel under the IIS section, double-click Server Certificates.
- Under the Actions panel on the right, click Complete Certificate Request.
- On the new window, click the ellipis (…) and browse to and find the previously uploaded primary certificate file. Click Open.
- Add a name to easily identify this certificate.
- In the Certificate store option, select Personal, and click OK.
- Bind the SSL certificate.
- Under the Connections panel on the left, click ▶ to expand the Sites folder.
- Click the Site Name that the SSL certificate must be installed on.
- Under the Actions panel on the right, find the Edit Site section and click Bindings.
- On the new window, click Add and fill out the following information:
- Type: https
- IP Address: select All Unassigned
- Port: 443
- Host name: leave empty
- SSL Certificate: select the recently installed SSL
- Click OK to confirm, and close the Site Bindings window.
- Restart IIS.
- Export the .pfx file.
- In the IIS Manager, double-click Server Certificates.
- Click the machine name.
- On the right-hand side, click Export.
- This should bring up the option to Export to and set a password - double-check that it's exporting as .pfx by clicking the ellipsis (…) on the right-hand side of the Export to box and noting the file extension.
- Import the SSL certificate into Server Admin.
- In the browser, navigate to the Server Admin endpoint (https://<yourMachineName>.esri.com/server/admin) and log in.
- From Home, click machines.
- Click the machine.
- Click sslcertificates.
- Click importExistingServerCertificate.
- Browse to and upload the certificate file.
- Choose an alias name and enter the password created while exporting the .pfx from IIS.
- Click Submit.