Expand my Community achievements bar.

etc/map is not registering for the HTTPS for AEM

Avatar

Level 5

am trying to setup the HTTPS ssl for AEM by followoing the below documentation.

https://docs.adobe.com/docs/en/aem/6-1/deploy/configuring/config-ssl.html

but from the error log i can see that it is failing the map creation process. any help what might be the issue. 

06.04.2016 11:48:47.123 *INFO* [CM Configuration Updater (Update: pid=org.apa che.felix.http)] org.eclipse.jetty.server.ServerConnector Started ServerConnector@6be74b95{HTTP/1.1}{0.0.0.0:4502} 06.04.2016 11:48:47.127 *INFO* [CM Configuration Updater (Update: pid=org.apache.felix.http)] org.eclipse.jetty.server.ServerConnector Started ServerConnector@677dae0e{SSL-HTTP/1.1}{0.0.0.0:5533} 06.04.2016 11:48:47.127 *INFO* [CM Configuration Updater (Update: pid=org.apache.felix.http)] org.apache.felix.http.jetty Started Jetty 9.2.9.v20150224 at port(s) HTTP:4502 HTTPS:5533 on context path / 06.04.2016 11:48:47.423 *INFO* [pool-6-thread-17] org.apache.sling.resourceresolver.impl.mapping.MapEntry createMapEntry: Configuration has external redirect to https://localhost:5533; not creating mapping for configuration in /etc/map/http/localhost.4502 06.04.2016 11:49:42.010 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [5376, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
3 Replies

Avatar

Level 10

Did this error happen when you followed this procedure: 

Forcing the Use of the SSL Port
If you want all users to connect over SSL, redirect traffic to the URL that uses HTTP over SSL.

The following example redirects traffic to localhost:4502 to https://localhost:5433. To configure the redirect, create a sling:mapping node. Use a node name that matches requested URL. Add a sling:redirect property to specify the URL for redirection.

Open CRXDE Lite in your web browser (http://localhost:4502/crx/de).

Click the /etc/map/http folder and click Create > Create Node:

Name: localhost.4502
Type: sling:mapping
Create the following property for this node:

Name: sling:redirect
Type: String
Value: https://localhost:5433
Click Save All.

Avatar

Level 5

Thanks for your reply.

I tired to create the etc/map/http/localhost.4503 node as suggested, but still this does not seems to work.

I could see the following error in the logs,

"org.apache.sling.resourceresolver.impl.mapping.MapEntry createMapEntry: Configuration has external redirect to https://localhost:5433; not creating mapping for configuration in /etc/map/http/localhost.4503"

Also verified by restarting the AEM instance, yet it does not seem to register.

Thanks