Is it possible to authenticate with kerberos for the http requests Jira makes to itself?

We encountered https://confluence.atlassian.com/jirakb/how-to-fix-gadget-titles-showing-as-__msg_gadget-813697086.html and noticed that the requests JIRA makes to itself are not authenticated with Kerberos. We tried adding some things to the file specified with the property:

java.security.auth.login.config

We have:

com.sun.security.jgss.login {
    com.sun.security.auth.module.GssLoginModule required client=TRUE initiate=true;
};
com.sun.security.jgss.initiate {
    com.sun.security.auth.module.GssLoginModule required client=TRUE initiate=true;
};
com.sun.security.jgss.accept {
    com.sun.security.auth.module.GssLoginModule required client=TRUE accept=true;
};
com.sun.security.jgss.krb5.initiate {
    com.sun.security.auth.module.GssLoginModule required client=TRUE initiate=true;
};
com.sun.security.jgss.krb5.accept {
    com.sun.security.auth.module.GssLoginModule required client=TRUE accept=true;
};
krbLogin{
    com.sun.security.auth.module.GssLoginModule required doNotPrompt=false debug=true useTicketCache=false;
};

We do have Kerberos authentication working to our database via this section of that file:

SQLJDBCDriver {
    com.sun.security.auth.module.GssLoginModule required initiate=true;
};

What configuration can we add to make the http requests authenticate?

1 answer

Alternatively, could we change the hostname and port for this request to be something other than the baseUrl of jira? (e.g. localhost)?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,956 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you