Skip to main content

replacesslcertificate

该实用程序可用于所有 ArcGIS Data Store 类型。

针对 Web 服务器对托管服务器和数据存储之间的通信以及数据存储计算机之间的通信进行身份验证时使用的 ArcGIS Data Store 自签名证书,您可将其替换为由认证机构 (CA) 验证和签名的证书或域证书。 也可以为以下数据存储类型替换在计算机之间通过端口通信时使用的自签名证书:

  • 关系存储

  • 图存储

  • 对象存储

此实用程序最终将取代 updatesslcertificate 实用程序。

运行此实用程序会重启 ArcGIS Data Store。

有关详细信息,请参阅替换 ArcGIS Data Store SSL 证书

语法

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

示例

在以下示例中,使用 CA 签名证书文件 (mysignedcert.pfx) 替换了用于 Web 服务器身份验证的自签名证书。

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

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

在下一个示例中,使用 CA 签名证书 (mysecondsignedcert.pfx) 替换了与关系存储进行跨端口通信时使用的自签名证书。

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

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