diff --git a/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-a-moderne-tenant-ssl-certificate.md b/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-a-moderne-tenant-ssl-certificate.md index 109b099b..9401f51e 100644 --- a/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-a-moderne-tenant-ssl-certificate.md +++ b/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-a-moderne-tenant-ssl-certificate.md @@ -11,10 +11,13 @@ import TabItem from '@theme/TabItem'; If your enterprise network security posture requires SSL certificates to be trusted prior to initiating an HTTPS request to your Moderne tenant, you will need to: * Download the Moderne certificate from your Moderne tenant: + ```bash openssl s_client -showcerts -connect .moderne.io:443 /dev/null | openssl x509 -outform DER > moderne_cert.der ``` + * Add the Moderne certificate to the default TrustStore of the agent's JRE: + ```bash keytool -import -trustcacerts -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -noprompt -alias moderne-cert -file moderne_cert.der ```