{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1820","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1820/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1820/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1820/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1820","id":104538400,"number":1820,"title":"\"SSL is Required\" message when connecting over HTTPS to IdentityServer hosted on AWS","user":{"login":"narciero","id":9964211,"avatar_url":"https://avatars.githubusercontent.com/u/9964211?v=3","gravatar_id":"","url":"https://api.github.com/users/narciero","html_url":"https://github.com/narciero","followers_url":"https://api.github.com/users/narciero/followers","following_url":"https://api.github.com/users/narciero/following{/other_user}","gists_url":"https://api.github.com/users/narciero/gists{/gist_id}","starred_url":"https://api.github.com/users/narciero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narciero/subscriptions","organizations_url":"https://api.github.com/users/narciero/orgs","repos_url":"https://api.github.com/users/narciero/repos","events_url":"https://api.github.com/users/narciero/events{/privacy}","received_events_url":"https://api.github.com/users/narciero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T17:56:38Z","updated_at":"2015-09-03T13:04:26Z","closed_at":null,"body":"I have deployed a web-hosted IdentityServer3 application to AWS (ElasticBeanstalk) running on an IIS server. Everything works however now I am trying to setup SSL. I generated a self-signed SSL cert using OpenSSL and configured my load balancer to use it. I have a secure connection to my identity server site ( https://identityserverurl...) and have verified the secure connection using Fiddler (as well as viewing certificate/connection info in Chrome) however whenever I try to access any part of the IdentityServer application I get the \"SSL is Required\" message. In my IdentityServerOptions I have SslRequired = true and I have a valid signing certificate. Am I missing a key part of configuring SSL with IdentityServer? Thanks for the help."},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/137433549","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1820#issuecomment-137433549","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1820","id":137433549,"user":{"login":"senseicz","id":44507,"avatar_url":"https://avatars.githubusercontent.com/u/44507?v=3","gravatar_id":"","url":"https://api.github.com/users/senseicz","html_url":"https://github.com/senseicz","followers_url":"https://api.github.com/users/senseicz/followers","following_url":"https://api.github.com/users/senseicz/following{/other_user}","gists_url":"https://api.github.com/users/senseicz/gists{/gist_id}","starred_url":"https://api.github.com/users/senseicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senseicz/subscriptions","organizations_url":"https://api.github.com/users/senseicz/orgs","repos_url":"https://api.github.com/users/senseicz/repos","events_url":"https://api.github.com/users/senseicz/events{/privacy}","received_events_url":"https://api.github.com/users/senseicz/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T13:04:26Z","updated_at":"2015-09-03T13:04:26Z","body":"Hi, if you are using ELB in front your instance, usually this is set up in  way that HTTPS traffic is terminated on ELB and traffic between ELB and your instance http only. As a normal end user, you only see your traffic up to ELB, not all the way down to your instance.\r\n\r\nELB then uses specific request header to indicate whether incoming request was http or https. Usually this is named \"X-Forwarded-Proto\" but Amazon might be using different name. See this thread https://github.com/IdentityServer/IdentityServer3/pull/1158  as similar issue was already discussed here. You might need to change Core\\Configuration\\Hosting\\RequireSslMiddleware.cs file."}}