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: 

Confluence API authentication via certificates

Deleted user
January 18, 2019

Hello everyone,

I am working with this Python JIRA API for a couple of weeks now:

https://jira.readthedocs.io/en/master/

It provides the "Options" Parameter where one can specify the "client_cert" Option in order to pass a tuple of certificate-file and key-file for client side SSL (which I need to use from my company).

Can this be done with the Confluence API aswell ? 
I could not find such Option in any Python Confluence API.

Is it possible to pass this Information when directly using the Rest API? If yes, a detailed description would be really nice!

 

Best
Johannes

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2019

Hello Johannes and welcome to the Community!

The REST API for Confluence server does offer 3 different methods for connecting to Confluence. Those methods are Basic Auth, Cookie and OAuth. Basic Auth (Username/Password) and Cookie are being phased out within Server. This leaves 2 available options for accessing Confluence over the REST API, Basic Auth (Token) and OAuth.

As far as using certificate authentication, I was unable to find anything which said this is an available option. I did review the python API (https://pypi.org/project/atlassian-python-api/) and was not able to find any reference there.

Your best option moving forward would be to use OAuth. You may find further information about OAuth at User impersonation for Connect apps (While this is cloud documentation, it should apply to Confluence version 5.5 or later).

Additionally, there is a developer community available which is browsed by developers more frequently than on this support community. You may find the developer community at https://community.developer.atlassian.com.

I hope this information proves helpful with integrating and automating with Confluence.

Regards,
Stephen Sifers

Deleted user
January 23, 2019

Thank you for your answer Stephen. At least I know now that I am not crazy. I will have a closer look at the OAuth method next.

Like Stephen Sifers likes this
TAGS
AUG Leaders

Atlassian Community Events