0

i m running simplesamlphp behind AWS ELB. Running simplesamlphp on port 8888. Have configured ELB to listen on HTTPS which inturn listens to port 8888 in the instance.Unless I add some self-signed certificate to the server the HTTPS doesn't work. Any thoughts?

4

1 回答 1

0

当您想在 ELB 中而不是在您的实例中使用 ssl 验证时,您需要设置特定配置。您必须使用 ELB 设置的标头 X-Forwarded-Proto。阅读这两个:

HTTPS 网站的 ELB 和 Apache 配置

http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#x-forwarded-headers

于 2015-07-20T10:04:07.590 回答