Problem:
Custom private certificate imports is successful but after restarting the ProfieUnity service the certificate reverts to old certificate.
Also ProfileUnity.LicenseServer.exe.log might have a message:
"Licensing certificate in use does not match your Liquidware generated certificate."
Possible Resolution(s):
- Snapshot or backup ProfileUnity console
- Backup and save ProfileUnity database (Administration\Database\Backup) save .zip
- Stop:
- ProfileUnity Service
- ProfileUnity Licensing Server Service
- Double click your custom certificate in “Local Computer Certificate Store” and go to the Details Tab. Scroll down to "Thumbprint"
Copy the "Thumbprint" for later use.
- Connect to MongoDB using a Mongo database utility
- Navigate to ProfileUnityDotNet > Collections > Key Values and update the local-settings-YourServerName key to reflect the new certificate. Right click on the local-settings-YourServerName key and Select Document > Edit Document
- Find "CertificateHash" and replace the hash with the current certificate thumbprint.
Find UserCertificateHash and clear it.
Example before:
After:
Update\Save the MongoDB Document.
- Edit C:\Program Files (x86)\ProfileUnity\Licensing Server\ProfileUnity.LicenseServer.exe.xml
Replace "CertStoreThumbprint" with the current thumbprint
- Save the file.
- Start:
- ProfileUnity Licensing Server Service
- ProfileUnity Service
- Verify that PU console is accessible
- Verify that certificate is showing correctly in the console
- Verify that the API get certificate:
https://fqdn_console_name.com/api/getlicensingcertificate
The output should look like this after providing prou_services account name and password. - Test that users logging in are not getting Licensing errors and logons are recorder in Licensing Logon Log.
Product: ProfileUnity
Product Version: 6.8.5+