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 new file mode 100644 index 00000000..109b099b --- /dev/null +++ b/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-a-moderne-tenant-ssl-certificate.md @@ -0,0 +1,20 @@ +--- +sidebar_label: Moderne tenant SSL certificate configuration +description: How to configure the Moderne agent with Moderne tenant SSL certificates. +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Configure an agent with a Moderne tenant SSL certificate + +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 +``` diff --git a/sidebars.ts b/sidebars.ts index 22a80bd5..00e87cf8 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -297,6 +297,7 @@ const sidebars: SidebarsConfig = { 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-generic-http-tools-for-use-in-recipes', 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-strict-recipe-sources', 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-client-ssl-certificates', + 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-with-a-moderne-tenant-ssl-certificate', 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/configure-an-agent-to-connect-to-moderne-via-an-http-proxy', 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/agent-variables', 'administrator-documentation/moderne-platform/how-to-guides/agent-configuration/multi-tenant-private-recipes',