When attempting to install an SSL certificate in ADManager Plus, users may encounter the following error:
"The private key for the certificates you have uploaded is not found."
This error indicates that the uploaded certificate does not contain the necessary private key associated, which is required for secure SSL communication.
Certificate without a private key: The uploaded SSL certificate file does not contain the private key.
Incorrect certificate format: The certificate is provided in a format that does not include the private key, such as .cer or .crt. However, you can upload the SSL certificate chain or certificate content in any supported format (.cer, .der, .crt, .pfx, .p12, .p7b, etc.) when configuring the SSL settings in the product.
Mismatched private key: The private key used to generate the Certificate Signing Request (CSR) does not match the uploaded certificate.
Incomplete certificate import: The required certificate chain (root, intermediate, and leaf certificates) is not properly imported.
Ensure you have admin rights on the ADManager Plus server.
Ensure the private key used during CSR generation matches the uploaded certificate.
Ensure the private key also be exportable while exporting the installed certificate in a .pfx or .p7b format.
Open the Certificate Manager on your Windows machine by pressing Win + R, typing certmgr.msc, and pressing Enter.
Navigate to Personal > Certificates.
Locate the certificate you are trying to upload.
Double-click on the certificate to open its properties.
Under the General tab, check for a message that states: You have a private key that corresponds to this certificate.
If this message is not present, the private key is missing, and the certificate cannot be used for SSL authentication.
Additionally, if the key symbol appears in the certificate icon within the Certificate Manager, it confirms the presence of a private key.
If the certificate does not contain a private key, follow these steps to create a new CSR and obtain a new certificate:
Log in to ADManager Plus as an administrator.
Navigate to Admin > General Settings > SSL Configuration.
Click Generate CSR and fill in the required details.
Submit the CSR to your internal Certificate Authority (CA) for signing.
Export the signed certificate in .pfx format, ensuring it includes the private key.
Reapply the new .pfx certificate in ADManager Plus under SSL Configuration.
Navigate to Admin > General Settings > SSL Configuration.
Click on Browse and upload the .pfx file.
Enter the password for the .pfx file when prompted.
Click Save.
After uploading the correct certificate, restart the ADManager Plus service for the changes to take effect.
Predominantly use the .pfx or .p12 extensions: Both file extensions include both the SSL certificate and the corresponding private key, ensuring a smoother installation process.
Store the private key securely: Keep a backup of the private key used during CSR generation to prevent future mismatches.
Verify the certificate chain: Ensure you have all necessary certificates (root, intermediate, and leaf) to avoid SSL errors.
Test before deploying: Before applying the certificate in a production environment, test it in a staging setup to confirm it works as expected.