Error: "401-Unauthorized" when attempting to open a Web Interface web page that routes through the NetScaler Gateway.
Complete the following steps to resolve the issue:
Open the Citrix.DeliveryServices.ProtocolTransition.ServiceHost.exe.config file with Notepad (as an admin) to edit the file.
Note: Save a backup copy of the config file before making any changes.
After you have a backup copy of the config file, search for the word "thumb" and then manually change the thumbprint to match the thumbprint found on the new SSL certificate, then save the file.
For example:
<add id="iis-site-1-cert" store-name="My" thumb="ZZYYXXWWVVUUTTSSRROOPPOONNMMLLKKJJIIHHGGFFEEDDCCBBAA" />
</certificates>
After you have made the changes restart the "Citrix Delivery Services Protocol Transition Service" to load the newly updated config file.
Open the Web Interface page to test. If the preceding steps did not resolve the issue, run repair on your Web Interface site and test again.
A config file on the Web Interface server was still referencing the old SSL certificate thumbprint.
C:\Program Files (x86)\Citrix\DeliveryServices\ProtocolTransitionService\ Citrix.DeliveryServices.ProtocolTransition.ServiceHost.exe.config
The Protocol Transition Service (PTS) is only used with NetScaler Gateway when using smart card authentication or SAML and the client requires a ticketed launch, that is, Kerberos Constrained Delegation is required.
Verified if any changes were made to the environment recently. The only change reported in this case was updating an expired certificate.
Verified if the correct certificate is bound to the IIS server and is in the proper key store in MMC.
Restarted the "Citrix Delivery Services Protocol Transition Service".
Examined the event logs:
Attempted to create a new Web Interface Site and received the following errors:
Examined the new SSL Certificate installed recently and noticed that the thumbprint did not match any of the errors encountered.