Project

General

Profile

https problem on azure

Added by Timotheus Brooks almost 8 years ago

Hi,

I'm trying to deploy hello world on the microsoft azure platform. It works with http, but it does not with https.

The javascript generated by jwt uses http instead of https, this is probably because the tomcat app service tells the app

that the scheme is http, although it is served over https.

Any idea how I can solve this ?

thanks!

Timotheus


Replies (3)

RE: https problem on azure - Added by Timotheus Brooks almost 8 years ago

When deploying with the latest jetty on the app service the problem does not occur.

regards,

Tim

RE: https problem on azure - Added by Wim Dumon almost 8 years ago

Hey Timtheus,

What OS, tomcat version and Wt version, and what does your configuration look like? We use jwt often in combination with https and tomcat, and haven't seen this problem for a long time. For completeness, I must add that in our deployments the https traffic is terminated by a reverse proxy in front of the wt application.

Wim.

RE: https problem on azure - Added by Timotheus Brooks almost 8 years ago

Well, the os is windows and the tomcat version, is the "newest" tomcat 8.0, it is upgraded automatically by microsoft on azure.

I just upload the war through ftp.

But tomcat doesn't tell the application that it is accessed over https, I tried to solve this by decorating the http request, but that didn't work, it resulted in jwt ,continuously, in a an infinite loop doing a post

Anyhow I don't care, since it works with jetty that is good enough for me.

thanks,

TB

    (1-3/3)