Problem:
The ProfileUnity webui is not working and producing errors like Connection Reset or Secure Connection Failed. This can occur after applying certain SSL certificates in the Administration, WebServices and then rebooting the server.
Background:
The imported certificate was created in a way that prevents the web services from accessing the private key of the certificate after the system is rebooted. Without the private key available, the certificate cannot be bound to the HTTPS listener. To resolve this, the public/private key relationship needs to be repaired.
Resolution:
- RDP or connect to the console on the affected ProfileUnity Console(s).
- Open File Explorer, browse to C:\Program Files\MongoDB and open mongod.cfg in Notepad.
- Copy the value of thumbprint= from the certificateSelector line.
- Open an elevated command prompt. To repair the private key on the certificate, execute the following commands using the copied thumbprint value:
certutil -repairstore my copiedThumbprintValue
certutil -repairstore root copiedThumbprintValue
Upon refreshing your web browser, you should now see the ProfileUnity Console Login page. The web interface will also remain working after future reboots.
Product: ProfileUnity-FlexApp
Product Version: 6.8.5