LoginSignup
0
0

More than 5 years have passed since last update.

HTTPS for Tomcat behind Nginx behind SLB

Last updated at Posted at 2016-10-11

HTTPS for Tomcat 7 Project.

All SLB and ECS are in Aliyun Environment. SLB would receive https request from client and send request in http to ECS, ECS may process http and response to SLB, SLB would respond to client.

ISSUE:

IF HTTP, OK AS

[HTTP 80]
SLB - CERT VALIDATER
[HTTP 80]
ECS / NGINX
[HTTP 8080]
ECS / TOMCAT
[HTTP]
BROWSER

HOWEVER, IF HTTPS, FALLS TO HTTP, AS

[HTTPS 443]
SLB
[HTTP 80]
ECS / NGINX
[HTTP 8080]
ECS / TOMCAT
[HTTP]
BROWSER

SOLUTION:

[HTTPS 443] or [HTTP 80]
SLB - CERT VALIDATER
[HTTP 80]
ECS / NGINX
[HTTPS 8443]
ECS / TOMCAT - CERT VALIDATER
[HTTPS]
BROWSER

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0