Set SSL using Docker container

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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:

    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:

    <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" />


DescriptionConfigure SSL for Jira with Docker Container
ProductJira, Jira Service Management, Jira Software

Last modified on Nov 23, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.