Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

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

Jörg

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

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

Jörg

Avatar

Level 2

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.