Create keys and certificates
Create keys and certificates in your root directory to enable Transport Layer Security (TLS) setup. TLS setup is required before you can configure mTLS on the MID Web Server and agent.
Before you begin
- Ensure that there are no keys installed in the MID unified keystore by running the following command:
bin/scripts/manage-certificates.(sh/bat) -lWhen there are no keys installed, the output is:
defaultsecuritypairhandle - Invalidate your MID Server.
If additional keys exist in the output, reinstall those keys after invalidating the MID Server.
- Ensure that the MID Server is connected to the instance.
- Select a directory in which you want to create certificates, to be called the root directory.
- For Windows environments only: Install Win32/Win64 OpenSSL with all dependencies and ensure it is on the system
PATH.
Note:
This procedure includes commands for both CentOS 7/Linux and Windows Server environments. Select the commands relevant for your host operating system. If working with another Linux distribution, adapt the commands as
needed for your specific OS.
Role required: agent_client_collector_admin
Procedure
-
In a Linux environment:
-
In a Windows environment: