Recently replaced our expiring SSL Certificates with new certificates. Portal seemed to be working fine after importing the new certificates. Also had to apply a new TDM license activation key. After cycling the CA Test Data Manager Portal service, can no longer access Portal, even though the service is up and running.
Are seeing the following error:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 127:0.0.1:443
All supported TDM releases.
Component : CA Test Data Manager Portal
Upon investigation, we see the cert file was imported, but not the Private Key. Working with the customer's security team, we imported the Private Key into the keystore.
Please make sure that keystore file includes, private key, root and intermediate certs. If any of these things miss in keystore file, work with security team to re-issue the keystore file.
Note: After importing the complete chain, Trusted Cert and Private Key, we saw an error thrown in the TDM startup.log, indicating an invalid character in the keystore path. Looking closely at the keystore path, defined in the application.properties file, we could not find an invalid character. The error was thrown because the CERT password, and KEY password, inside the keystore, were different. To get around this issue, we had to synchronize the two passwords, using the following keytool commands:
keytool -storepasswd
keytool -keypasswd