Stash-Jira integration with Apache SSL (self signed)

I have a server running Confluence, Jira and Stash. Those services are running in different tomcats with 2 connectors for each services:

Example of stash:

<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="7990" protocol="HTTP/1.1" redirectPort="443" useBodyEncodingForURI="true" scheme="https" proxyName="" proxyPort="443"/>
<Connector executor="tomcatThreadPool" port="7991" protocol="HTTP/1.1" connectionTimeout="20000"/>

To act as a frontend of those 3 services I have a apache with SSL (self signed certificate). The configuration is the following:

<VirtualHost *:443>


SSLEngine On

SSLCertificateFile /etc/ssl/secure/

SSLCertificateKeyFile /etc/ssl/secure/

SSLCACertificateFile /etc/ssl/secure/rootCA.pem

<Proxy *>

Order deny,allow

Allow from all


SSLProxyEngine On

ProxyRequests Off

ProxyPreserveHost On

ProxyPass /http://localhost:7990/

ProxyPassReverse /http://localhost:7990/


I can connect to stash from https without problems.

I want to have the integration with Jira in place. For that I created an Application link using the internal 7991 port (http). I configured OAuth for connecting the apps but I cannot get the integration working.

I cant create branches in Stash from Jira, but not accessing them. The link from Stash to Jira is not working at all.

Any advice on how I can get this working?

1 answer

Hi, we very recently released the Application link diagnose plugin, you may want to install it and execute the tests to help you identify what could be causing this issue.

Also, ideally you should create the application link using the same JIRA and Stash base URLs, otherwise you may have problems.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,950 views 7 10
Read article

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