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

Is it possible to make publisher accessible in browser with https?

Avatar

Level 1

We have configured our dispatcher for both 80 and 443 ports. The reason being that the publisher only loads in the browser with http, and shows site cannot be reached with https, Is there a way to configure publisher to make it accessible with https so that we only have port 443 configured in our dispatcher.

 

AshishShetty_1-1715928985296.png

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 9

@AshishShetty 

 

You can try the below documentation

Configure the HTTP Service on Publish- https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/deploying/conf...

 

Adding an SSL cert - https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/usi...

 

 

Follow these steps to configure it:

Configure the Jetty-Based HTTP Service on Publish
  • Log into the AEM publish instance.
  • Go to the OSGi Console (http://localhost:4503/system/console/configMgr).
  • Find the "Apache Felix Jetty Based HTTP Service" configuration.
  • Check the "Jetty requires HTTPS" option.
  • Set the "Jetty HTTPS Port" to 443 or the desired HTTPS port.
  • Set the "Jetty HTTPS Properties" with the required SSL configuration properties like the keystore path, keystore password, etc.

Install SSL Certificate on Publish
  • Obtain or create an SSL certificate for the publish instance.
  • Install the private key and certificate on the publish instance's truststore.

Once these configurations are done, the publish instance should be accessible over HTTPS on the configured port (e.g. https://localhost:443). You can then configure the dispatcher to only allow traffic on port 443 for HTTPS.

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @AshishShetty ,

Can you check if your listener IP is similar to your public IP.
If not then its an internal network/firewall issue.

Thanks
Tarun

 

Avatar

Level 10

Hi @AshishShetty ,

Yes, it's possible to configure your publisher to be accessible over HTTPS so that it can be accessed securely in the browser. Here are the general steps you need to take:

  1. Configure HTTPS on your Publisher:

    • You need to configure your publisher to support HTTPS. This involves obtaining an SSL certificate for your domain and configuring your web server (e.g., Apache HTTP Server, Adobe Experience Manager) to use this certificate for HTTPS connections.
    • Ensure that your SSL certificate is properly installed and configured on your publisher server.
  2. Update Dispatcher Configuration:

    • Update your dispatcher configuration to route HTTPS requests to your publisher. This typically involves configuring your dispatcher rules to forward requests to your publisher over HTTPS.
    • Make sure that your dispatcher configuration is updated to handle HTTPS traffic and forward it appropriately.
  3. Update AEM Configuration:

    • In Adobe Experience Manager (AEM), ensure that the necessary configurations are updated to support HTTPS. This might include updating any references to resources (e.g., links, images, scripts) to use HTTPS URLs.
    • Ensure that any custom code or configurations are updated to handle HTTPS requests and responses correctly.
  4. Testing and Verification:

    • Once you've configured HTTPS on your publisher and updated your dispatcher and AEM configurations, thoroughly test the setup to ensure that your website is accessible over HTTPS.
    • Test various pages, components, and functionalities to verify that everything works as expected over HTTPS.
  5. Redirect HTTP to HTTPS (Optional):

    • You may want to configure your web server or dispatcher to redirect HTTP requests to HTTPS for improved security. This ensures that users are always accessing your website over a secure connection.
    • Implementing HTTP to HTTPS redirection depends on your specific web server or dispatcher configuration.

By following these steps, you should be able to configure your publisher to be accessible over HTTPS, allowing users to access your website securely in the browser. Make sure to carefully test the setup to ensure that everything works smoothly.

Avatar

Correct answer by
Level 9

@AshishShetty 

 

You can try the below documentation

Configure the HTTP Service on Publish- https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/deploying/conf...

 

Adding an SSL cert - https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/usi...

 

 

Follow these steps to configure it:

Configure the Jetty-Based HTTP Service on Publish
  • Log into the AEM publish instance.
  • Go to the OSGi Console (http://localhost:4503/system/console/configMgr).
  • Find the "Apache Felix Jetty Based HTTP Service" configuration.
  • Check the "Jetty requires HTTPS" option.
  • Set the "Jetty HTTPS Port" to 443 or the desired HTTPS port.
  • Set the "Jetty HTTPS Properties" with the required SSL configuration properties like the keystore path, keystore password, etc.

Install SSL Certificate on Publish
  • Obtain or create an SSL certificate for the publish instance.
  • Install the private key and certificate on the publish instance's truststore.

Once these configurations are done, the publish instance should be accessible over HTTPS on the configured port (e.g. https://localhost:443). You can then configure the dispatcher to only allow traffic on port 443 for HTTPS.