Set SSL using Docker container

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When trying to configure SSL certificates on Jira Applications with a Docker container.

The following can appear in the browser console, while trying to create a Project on Jira Service Management:

1 2 3 4 ERROR: when creating project in Service Desk: com.atlassian.jira.jira-onboarding-assets-plugin:promise.js:29 Possibly unhandled Error: [object Object] at Object.o (https://servicedesk.url.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xw7xph/810001/6411e0087192541a09d88223fb51a6a0/8.10.0/_/download/batch/com.atlassian.jira.jira-onboarding-assets-plugin:promise/com.atlassian.jira.jira-onboarding-assets-plugin:promise.js:30:28972) Failed to load resource: the server responded with a status of 404 ()

Workaround

  • Adapt and run the following Docker Service Command:

    1 docker service create --name <service-name> --publish 8080:8080 --publish 25:25 --network <network-name> --constraint node.role==worker --mount source=<mount-source-name>,target=<target-folder> -e ATL_PROXY_NAME=<proxy-name> -e ATL_PROXY_PORT=<proxy-port> -e ATL_TOMCAT_SCHEME=https -e JVM_MINIMUM_MEMORY=2048m -e JVM_RESERVED_CODE_CACHE_SIZE=512m <domain>:<service-name>
  • Adjust the following connector on your Jira server.xml file:

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <Connector port="8080" maxThreads="100" minSpareThreads="10" connectionTimeout="20000" enableLookups="false" protocol="HTTP/1.1" redirectPort="443" acceptCount="10" secure="false" scheme="https" proxyName="<proxyName>" proxyPort="443" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>" bindOnInit="false" maxHttpHeaderSize="8192" useBodyEncodingForURI="true" disableUploadTimeout="true" />
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.