Forcing the Use of the SSL Port / Why Dispatcher Works over HTTP | Community
Skip to main content
New Participant
March 1, 2017
Solved

Forcing the Use of the SSL Port / Why Dispatcher Works over HTTP

  • March 1, 2017
  • 2 replies
  • 1435 views

I want to force the use of SSL in the admin interface of the publish instance.  Configuring this "https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/config-ssl.html#Forcing the Use of the SSL Port", does just that.  However, I need my dispatcher to connect over http (set through dispatcher.any).  This appears to work but now I'm wondering why publish does not force the redirect to SSL.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

most likely you are no longer requesting through the hostname/port combination "localhost:4502", but through some other hostname and port.

Jörg

2 replies

25793466Author
New Participant
March 15, 2017

You are correct.  It looks like the dispatcher makes the request to the publish instance using the end user facing URL host as the host header, which doesn't match the machinename.port I am forcing SSL on.

joerghoh
joerghohAccepted solution
Employee
March 1, 2017

Hi,

most likely you are no longer requesting through the hostname/port combination "localhost:4502", but through some other hostname and port.

Jörg