How to renew the Self-Signed certificate for the AD Connector for Ansys Gateway
TAGGED: certificate, Gateway
-
-
October 28, 2024 at 3:56 pm
Francis Poussin
Ansys EmployeeIn case you use a self-signed certificate for the Gateway Connector, you may experience the certificate to expire after 1 year.
This will cause the Gateway agent to no more be able to interface with the Active Directory and will prevent operations on Ansys Gateway powered by AWS.
In order o renew the Self-Signed certificate, you need to follow the following steps:
- Stop and delete existing Ansys.Gateway.AdConnector service
- To delete it run this in Windows command prompt “sc delete Ansys.Gateway.AdConnector”
- Run these 2 commands in PowerShell with Admin permissions
- New-SelfSignedCertificate -DnsName $myDomain -CertStoreLocation "cert:\LocalMachine\My"
- $myDomain should be the actual domain used for the OU which you created
- Move-Item -Path "cert:\LocalMachine\My\{thumbprint}" -Destination "cert:\LocalMachine\Root"
- {thumbprint} should be the actual thumbprint returned from the first PS command
- Run the install.ps1 command with the new thumbprint to reinstall the service.
- In a PowerShell window, cd to the ACSAdmin folder and run the install.ps1 command with the followingarguments:
- -username "username": username for the account to be used to join users and machines to theOrganizational Unit.
- -password "password": password for the domain join user account.
- -thumbprint "thumbprint": Specify the thumbprint value that you obtained in the previous step.
For example:.\install.ps1 -username "domainjoin@company.com" -password "agw123" -thumbprint"b6f70dc3d000791ece744ec67c34eb92cbbe97e0"
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Innovation Space
Trending discussions
Top Contributors
-
6660
-
1906
-
1469
-
1313
-
1022
Top Rated Tags
© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.