Why is OCM not trusting my MD Core server certificate signed by an Intermediate Central Authority
Overview
If MetaDefender Core is using a certificate signed by an Intermediate Certificate Authority (CA), certain requirements must be met to ensure that Central Management trusts the server certificate. This article provides guidance on configuring the certificate correctly.
Prerequisites
- Access to the MetaDefender Core and Central management servers
- The MetaDefender Core server certificate + private key and the Intermediate CA certificate
Requirements
Adding the Intermediate Certificate to the Windows Certificate Store
- The Intermediate CA certificate must be added to the Windows Certificate Store where Central Management resides.
- This ensures that the Central Management system can validate the certificate chain.
Alternative: Using a Concatenated Certificate
- If adding the Intermediate Certificate to the Central Management machine is not an option, a concatenated certificate must be applied on the MetaDefender Core side.
- A concatenated certificate contains both the MetaDefender Core certificate and the Intermediate Certificate, forming a certificate chain.
- You can also concatenate the RootCA certificate, but most likely, this is not required.
Concatenating Certificates on Windows
Method 1: Using Command Prompt
Place MDCore.crt and IntermediateCA.crt in the same folder.
Open Command Prompt (Win + R, type cmd, and press Enter).
Navigate to the folder where the certificates are stored:
cd C:\path\to\certificates
- Concatenate the certificates using the copy command:
copy MDCore.crt + IntermediateCA.crt merged_certificates.crt
Method 2: Using PowerShell
- Open PowerShell as Administrator.
- Run the following command to merge the certificates:
Get-Content MDCore.crt, IntermediateCA.crt | Set-Content merged_certificates.crt
Method 3: Using Notepad
Open MDCore.crt and IntermediateCA.crt in Notepad.
Copy the contents of both files and paste them into a new file.
Save the new file as merged_certificates.crt.
Concatenating Certificates on Linux
- Navigate to the folder containing the certificates:
cd /path/to/certificates
- Use the
cat c
ommand to merge them:
cat MDCore.crt IntermediateCA.crt > merged_certificates.crt
Applying the Concatenated Certificate
Use the merged_certificates.crt file along with the private key corresponding to your server certificate.
Configure this certificate in MetaDefender Core settings.
Once configured, the Intermediate Certificate is no longer required on the Central Management machine when integrating the MetaDefender Core instance.
Conclusion
By following these steps, you ensure that MetaDefender Core presents a valid certificate chain, allowing Central Management to trust the server certificate.
If Further Assistance is required, please proceed to log a support case or chatting with our support engineer.