The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to enable SSL integration with other tools via API

Hideki_Kadowaki
June 9, 2024

Hi

I'm trying to setup SSL integration with Jira and other tools on my environment via API, but as far as my test, Non-SSL connection (http) could be succeeded but SSL connection (https) have been failed as below. As the following result, I tried these test on the server which Jira also is installed so I'm not sure what is the problem except NW or port setting. Can anybody help how to enable SSL integration?


-Environment:

JIRA 9.12.8 on RHEL 8.6

 

Success (non-ssl)

[root@bin]#curl -s -u User001:password 'http://localhost:8080/rest/api/latest/myself'

{"self":"http://localhost:8080/rest/api/2/user?username=User001","key":"JIRAUSER00001","name":"User001","emailAddress":"User001@mail.com","avatarUrls":{"48x48":"https://www.avatar.com/avatar/2r32533633q10e23076cf72648e44e63?d=mm&s=48","24x24":"https://www.avatar.com/avatar/2r32533633q10e23076cf72648e44e63?d=mm&s=24","16x16":"https://www.avatar.com/avatar/2r32533633q10e23076cf72648e44e63?d=mm&s=16","32x32":"https://www.avatar.com/avatar/2r32533633q10e23076cf72648e44e63?d=mm&s=32"},"displayName":"User001@mail.com","active":true,"deleted":false,"timeZone":"Asia/Tokyo","locale":"ja_JP","groups":{"size":2,"items":[]},"applicationRoles":{"size":1,"items":[]},"expand":"groups,applicationRoles"}

 

 

Fail (ssl)

[root@bin]# curl -v -u User001:password 'https://localhost:8443/rest/api/latest/myself'

*   Trying ::1...

* TCP_NODELAY set

* connect to ::1 port 8443 failed: Connection refused

*   Trying 127.0.0.1...

* TCP_NODELAY set

* connect to 127.0.0.1 port 8443 failed: Connection refused

* Failed to connect to localhost port 8443: Connection refused

* Closing connection 0

curl: (7) Failed to connect to localhost port 8443: Connection refused

[root@bin]#

 

Thank you

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.