ArcGIS Experience Builder

Enable ArcGIS Experience Builder Developer Edition to Work with Signed Certificates

This blog post was contributed by Craig Cleveland, a Solution Engineer on the National Government Team in the Esri Washington, DC office.

We delivered the initial release of the ArcGIS Experience Builder Developer Edition recently.  For those of you that have deployed it already you may have noticed the first time you browse to the site you’re presented with a message from your browser that looks something like this:

Warning message

First, let’s dig into why you’re seeing this warning message from your browser.  The browser is warning you because ArcGIS Experience Builder Developer Edition is using a self-signed certificate when communicating over https.  Many ArcGIS components create self-signed certificates during the initial installation process so they can communicate via https immediately after installation.  The easy thing to do is to make a browser exception, move on, and not think about it again.  This is not a security best practice, however, and in many environments can be a downright showstopper.  The ideal solution is to replace those self-signed certificates with signed certificates from a trusted certificate authority.  All ArcGIS components allow for this to ensure the highest level of security when communicating over https.  If you’re interested in more details about SSL here is a great overview provided by SSL Shopper.

There are two files that need to be replaced in the cert directory of the ArcGIS Experience Builder Developer Edition install – server.cert, which is the public key for your server, and server.key, which is the private key.  Although there are multiple ways to accomplish this, we’re going to explore one of the most common, which is to use openssl.  Details on deploying openssl can be found here.  Once it’s installed and configured you’re ready to begin.

Step1: Generate a new private key and Certificate Signing Request

openssl req -out C:\Temp\server.csr -new -newkey rsa:2048 -nodes -keyout C:\Temp\server.key

Generate a new private key in command prompt

Step2: Obtain a signed certificate from a trusted certificate authority

Step3: Convert the signed server certificate (if necessary)

openssl x509 -inform der -in  C:\Temp\server.cer -out C:\Temp\server.cert

Convert the signed server certificate

Step4: Replace the self-signed server.cert and server.key files

Note:  Be sure to back up the self-signed.

Replace the self-signed server.cert and server.key files

On the next startup ArcGIS Experience Builder Developer Edition will now be running with a signed server certificate, and the familiar lock can be seen in the address bar of your browser signifying you have a secure connection.

Secure connection

About the author

Product manager for ArcGIS Experience Builder and ArcGIS Web AppBuilder. She likes hiking and camping.

Connect:
0 Comments
Inline Feedbacks
View all comments

Next Article

Tighten Up Your Edits with Editing Constraints in ArcGIS Online

Read this article