SSL Certificate Connection Failures
Symptom
One or more of the following symptoms may be present in your environment:
- Authentication failures when accessing Netwrix Directory Manager Admin Center
- LDAP connection errors
- "The remote certificate is invalid" errors
- HTTP 401 Unauthorized responses
- Service fails to start or authenticate users
Cause
The upgraded version implements strict SSL/TLS certificate validation that enforces:
- Certificate validity period checking
- Certificate chain validation with system trust store
- Root certificate must exist in Trusted Root CA store
- Online revocation checking
The upgrade may reject self-signed certificates or certificates with incomplete chains that the previous version accepted.
Resolution
Diagnostic Steps
-
Check Application Logs:
- Review Directory Manager Admin Center logs for SSL/certificate errors.
- Look for exceptions related to
X509Certificate2orSslPolicyErrors.
-
Verify Certificate Installation:
certlm.msc- Navigate to: Trusted Root Certification Authorities > Certificates.
- Confirm the certificate is present.
-
Check Certificate Validity:
- Double-click the certificate.
- Verify it is not expired (check Valid from and Valid to dates).
- Check Certificate Status — should show This certificate is OK.
-
Verify Certificate Chain:
- In certificate properties, go to the Certification Path tab.
- All certificates in the chain should show as valid.
- No red X marks should appear.
-
Test Certificate Thumbprint:
- Note the certificate thumbprint from certificate details.
- Verify it matches the expected certificate.
Resolution Steps
For Self-Signed Certificates:
-
Install certificate in Trusted Root CA store:
certlm.msc- Navigate to: Trusted Root Certification Authorities > Certificates.
- Right-click Certificates > All Tasks > Import.
- Select your certificate file.
- Complete the import wizard.
-
Verify installation:
- Confirm certificate appears in Trusted Root CA store.
- Check thumbprint matches expected value.
-
Restart services — restart whichever applies to your environment:
- IIS Application Pool (if using IIS)
- Directory Manager Admin Center service
- The web application
For Expired Certificates:
- Obtain new certificate with valid dates.
- Install new certificate in Trusted Root CA store.
- Update service configuration to use new certificate.
- Remove old expired certificate from store.
- Restart services.
For Revoked Certificates:
- Obtain new non-revoked certificate.
- Install in Trusted Root CA store.
- Update configuration.
- Restart services.
For Incomplete Certificate Chains:
- Obtain all intermediate certificates.
- Install intermediate certificates in Intermediate Certification Authorities store.
- Ensure root certificate is in Trusted Root CA store.
- Verify chain builds correctly.
- Restart services.
Verification after Resolution
-
Test authentication:
- Access Directory Manager Admin Center login page.
- Attempt to authenticate.
- Verify successful login.
-
Check logs:
- Confirm no SSL/certificate errors.
- Verify successful LDAP connections.
-
Monitor services:
- Ensure services remain running.
- Check for any recurring certificate errors.