Problem: keyAlias attribute value in server.xml automatically reverts to an invalid state
When an invalid or expired certificate is used in ArcGIS Server, the administrator or manager endpoints through port 6443 become inaccessible. Changing the keyAlias attribute in the server.xml file to reflect the self-signed certificate value allows access to the endpoints. However, once the ArcGIS Server service is started, the server.xml file reverts to the previous keyAlias attribute value, causing the endpoints to be inaccessible.
This issue occurs due to the read and write permission settings of ArcGIS Server.
Solution or Workaround
As a workaround, perform the following:
- Stop the ArcGIS Server service.
- Navigate to the following directory and open server.xml with a text editor:
- Search for the keyAlias parameter and change the values to SelfSignedCertificate.
- Save the file.
- Revoke write permissions of the ArcGIS Server service account to server.xml. For more information, refer to ArcGIS Help: Changing the ArcGIS Server Account.
- Start the ArcGIS Server service. The endpoints are now accessible.
- Add the write permissions of the ArcGIS Server service account to server.xml.
- ArcGIS Help: Configuring HTTPS only using the default self-signed certificate
- ArcGIS Help: Create a new self-signed certificate