We just updated the license in Orchestrator, but found that both the previously created tenant and the tenant created after updating the license cannot log in to Orchestrator. Is there a solution to this?
Hi Marian,
Our UiPath Ochetrator version is 2021.10.0. and we use the guide and execute the sql to reset default tenant 's admin account to 890iopqa ,but it is not work. I also used the forget password function, but it prompted me that the partition is invalid.Is it possible that it was caused by other reasons. Thanks.
During and after Orchestrator installation, private key related errors will show up if the application pool user is not added to the signed certificate private key. These are the steps to do so.
Manually
Check the certificate which is used in Orchestrator website bindings.
Go to Windows â type ârunâ â mmc
Once the mmc window is up-> Add Snap-in â Add certificate â Local Computer
Go to Personal â Certificate â Select the certificate which is used by Orchestrator website.
Right Click Certificate â All tasks â Manage Private keys â Add group âIIS_IUSRSâ
Open cmd.exe as Administrator and run iisreset command.
Resolution: In order to identify the root cause of the issue, check the logs in the Event Viewer.
Event viewer logs are where windows stores system logs. They can sometimes show more detailed error messages than those that are typically shown to the user.
If the below error occurs:
Authentication failedMicrosoft.IdentityModel.Tokens.SecurityTokenInvalidSigningKeyException: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): âSystem.DateTimeâ, Current time (UTC): âSystem.DateTimeâ.
at void Microsoft.IdentityModel.Tokens.Validators.ValidateIssuerSecurityKey(SecurityKey securityKey, SecurityToken securityToken, TokenValidationParameters validationParameters)
at void System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateIssuerSecurityKey(SecurityKey key, JwtSecurityToken securityToken, TokenValidationParameters validationParameters)
at ClaimsPrincipal System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at ClaimsPrincipal System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(string token, TokenValidationParameters validationParameters, out SecurityToken validatedToken)
at async Task UiPath.Orchestrator.Security.Auth.IdentityUser.IdentityUserAccessTokenAuthenticationHandler.HandleAuthenticateAsync()
Then there is an issue with the certificate and that means that the Orchestrator is not able to communicate with Identity, hence unable to get the credentials.
Perform the below steps:
Renew the client certificate
Login with a domain administrator account
Windows start menu and type run (or Windows key + R)
Type âmmcâ and press enter
File > Add/Remove Snap-In
Double click on âCertificatesâ
Choose âComputer accountâ and click Next
Choose âLocal Computer: (the computer this console is running on) and click Finish
Click on ok to add the Certificates Snap-In
Expand Certificates > Personal > Certificate on the left panel
Right-click on the client certificate (Intended Purposes: Client Authentication)
Navigate to All Tasks > advanced Operations > renew this certificate with the same key (if your domain CA doesnât accept this action, choose the request certificate option with the same key or new key)
Double click the certificate and change the register to âDetailsâ and scroll down to âThumbprintâ
Now open Windows Explorer and navigate to â\Identityâ and open the file âappsettings.Production.jsonâ with an editor like Notepad
Make sure that the âNameâ value in the âAppSettingsâ category is set to the âThumbprintâ of the new certificate (without blanks)
Open the IIS Manager
On the left panel click on the server name entry (!NOT! the website entry)
Click on the right panel âRestartâ in the âActionsâ section