Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Login Issue in Jira using c# code

Arvind Kumar Singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2019

Hi Team,

 

I am using below code for login 

Jira jiraConn = Jira.CreateRestClient(Settings.Default.JiraURL, Settings.Default.JiraUser, Settings.Default.JiraPassword,null);

var issues = (from i in jiraConn.Issues.Queryable
orderby i.Created
select i).ToList();

Inner Exception :

InvalidOperationException: Error Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Can I disable the certificate check during login.

Could you please help me resolve this issue ..

Thanks in Advance !

1 answer

0 votes
Chevy Densing
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2022

Hi, I also started getting the same error yesterday. My first run still passed. Then the next one started to fail with that error and hasn't been successful since.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events