Skip to main content

replacesslcertificate

This utility is used with all ArcGIS Data Store types.

You can replace the ArcGIS Data Store self-signed certificate used by the web server to authenticate communication between the hosting server and the data store and between data store machines with a certificate verified and signed by a certifying authority (CA) or domain certificate. You can also replace the self-signed certificate used to communicate between machines over ports for the following data store types:

  • Relational store

  • Graph store

  • Object store

This utility will eventually supercede the updatesslcertificate utility.

Running this utility restarts ArcGIS Data Store.

See Replace the ArcGIS Data Store SSL certificate for more information.

Syntax

replacesslcertificate <source certificate file name with path> <password for the source certificate file> <alias for the certificate> --option <webserver | relational | graph | object>

Examples

In the following example, the self-signed certificate used for webserver authentication is replaced with a CA-signed certificate file (mysignedcert.pfx).

./replacesslcertificate.sh /usr/files/mysignedcert.pfx "ps4mycert" "mycacert" --option webserver

replacesslcertificate C:\myfiles\mysignedcert.pfx "ps4mycert" "mycacert" --option webserver

In the next example, the self-signed certificate used for communication with the relational store over ports is replaced with a CA-signed certificate (mysecondsignedcert.pfx).

./replacesslcertificate.sh /usr/files/mysecondsignedcert.pfx "ps4mycert" "relcacert" --option relational

replacesslcertificate C:\myfiles\mysecondsignedcert.pfx "ps4mycert" "relcacert" --option relational