I have to admit, this post is going to be lame. I wont be offended if you stop reading now because it is mostly for my own benefit.
Recently we moved our YouTrack server to a publicly accessible server and got it all setup with an URL like http://dev.acme.com. We then wanted to move out TeamCity server to the same box so moved both TeamCity and YouTrack into a Tomcat app server and gave them URLs like dev.acme.com/teamCity and dev.acme.com/youTrack. Sweet. Everything is going great. We have them talking to each other.
Lets flip them over to talk on only SSL. This wasnt was easy as I hoped. Actually it was super simple, but finding the steps was painful. If you look for how to setup SSL with Tomcat you find a load of articles using tools and certificates we dont have handy. We do have our wild card certificate from IIS that we can export and then the steps are easy.
Sweet. While I was in that file I commented out the Tomcat connector on port 80 so IIS could listen on that port. Im more familiar with IIS and setting up the HTTP to HTTPS redirect was easier for me in IISwhich I did next.
All done. Everything is golden right? It works. It redirects to HTTPS if you request HTTP. Awesomeexcept we cannot attach files. Bummer.
We get asked questions like:
Are you using a proxy?
Please specifiy procy if you are using one, otherwise it is impossible to post the attachment.
Since we are not using a proxy I said no and then got another error message.
Sorry, cannot attach the image.
Luckily this was an easy fix as well. This was a fairly easy issue to find since JetBrains publicly tracks the issues with YouTrack. That was exactly out problem. We had YouTrack setup to listen on http://dev.acme.com/youTrack instead of https://dev.acme.com/youTrack. Switching that in the settings fixed our problem.