Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to enable HTTPS but get an error from server.xml

SysOp October 30, 2018

Windows Server: 2016

SQL Server: MSSQL

Jira Server version: 7.12.3

Build Number: 712004

Application Server Container: Apache Tomcat/8.5.32

When following this guide,https://confluence.atlassian.com/adminjiraserver/running-jira-applications-over-ssl-or-https-938847764.html, I get and eror when Jira is starting up.

"Setup: Tomcat is misconfigured

The server.xml is missing parameters needed by Jira to handle requests that contain special characters"

Following the link to, https://confluence.atlassian.com/jirakb/changing-server-xml-to-handle-requests-with-special-characters-958453799.html, doesn't solve the issue

We have reverted back to HTTP only but he issue persisted.

We restored a backup file form yesterday and the server is running again

It seems like the config.bat, used to configure the server, is messing up the server.xml file

How can I make my server run on HTTPS?

1 answer

1 accepted

4 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2018

Hey Reza,

There can be multiple connectors in server.xml - any active connectors need the special character flags or you'll see this situation.

Take a look at this recent post where we went over using syntax highlighting in a text editor to find active connectors.

It could easily be there's just another active connector at the bottom of the file that escaped your glance.

Once you're able to check all those connectors, let me know if you still continue to see the error!

Cheers,
Daniel

SysOp October 31, 2018

Hi Daniel

You are correct! I missed the bottom one after enabling HTTPS... just like in the post you were referring to.

All good, thanks!

JiraYo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2019

god damn it me too! got the first one and missed the second!

 

all would be solved by atlassian supporting the very real and popular SSL configuration OUT OF THE BOX!!!!

bromoserwfm August 6, 2019

I'm also impacted by this and it's incredibly frustrating. The server config utility should either handle this natively or warn the user that the configuration file it generates will be broken.

Suggest an answer

Log in or Sign up to answer