TDM Portal authentication failing from Javelin
search cancel

TDM Portal authentication failing from Javelin

book

Article ID: 368133

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

We have just installed the new version of TDM package (4.11.71.0) in our environment.

Our complex model that uses Javelin to interact with TDM Portal fails calling the Portal service that generates the token.
When using the AuthenticatePortalUser activity, getting below error:

2024-05-17 16:55:05 - Run flow: P:\COMPLEX_MODEL\COMPLEX_MODEL.vwf
2024-05-17 16:55:07 - Running Test Case: Flowchart
2024-05-17 16:55:07 - Executing Step: AuthenticatePortalUserActivity
2024-05-17 16:55:07 -    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at RestSharp.Http.WriteRequestBody(WebRequest webRequest)
   at RestSharp.Http.ExecuteRequest(String httpMethod, Action`1 prepareRequest)
   at RestSharp.RestClient.Execute(IRestRequest request, String httpMethod, Func`3 getResponse)
2024-05-17 16:55:07 -    at GridTools.Javelin.Designer.TDoDActivities.AuthenticatePortalUserActivity.AuthenticateUser(String userName, String password, String baseURL, NativeActivityContext context)
2024-05-17 16:55:07 - Error executing AuthenticatePortalUserActivity: The request was aborted: Could not create SSL/TLS secure channel.
2024-05-17 16:55:07 - Running Test Case: Flowchart
2024-05-17 16:55:07 - Test Case: Flowchart Execution Complete
Execution complete with error: The request was aborted: Could not create SSL/TLS secure channel.

Environment

TDM 4.11.x

Cause

Configuration for TLS version in latest Tomcat of 4.11 by default uses TLSv1.3.

Resolution

1. Go to "C:\\Program Files\\CA\\CA Test Data Manager Portal\\tomcat\\conf" directory (adjust the path based on Portal installation location).

2. Edit file "server.xml" - search for "protocols" attribute and set its value to "TLSv1.2+TLSv1.3" (from "TLSv1.3").

3. Restart Portal service.