How start the AEM 6.3 author instance on Proxy Port

Statement - Setup proxy Port to 4504 for author instance which  is running on 4502

Pre-requisite :

  • AEM is up and runing on port 4502

Solution :
  • Go to the Felix console configmgr
  • Search for Apache Felix http Jetty based service which was initially configured to port to 4502 because during initial start used 4502 port.



  • - Open the Apache Felix http Jetty based service and configure HTTP port to 4504

  • That's it!, Now server console can be accessed through port 4504 and as well 4502.

Note: You can configure many proxy ports similiar to above config used for port 4504.


How to change SSL port number post the SSL setup

Statement : How do we change  the SSL port number from 8443 to 5443

Pre-requisite :

  • Assuming intially SSL setup was done on port 8443
  • Now change the SSL port to 5443
  • JRE 1.8
Solution :
  • Go to Felix console https://localhost:8443/system/console/configMgr
  • Search for Granite SSL connection Factory ad open it.


  • Change the HTTPS port to 5443 instaed of 8443.
  • Save the changes.
  • Open the URL with port 5443 - https://localhost:8443/system/console/configMgr -->click on Advanced--> localhost-->it will redirect to felix console.

Updating the SSL Configuration Via cURL

Statement  : Updating the SSL Configuration Via cURL

Pre-requisite : 
  • JRE 1.8
  • AEM 6.3
  • Assuming privatekey.der and certificate.csr files are generated use of RSA tool
Solution :
cURL commond for the SSL setup: 
1
curl -u user:password -F "keystorePassword=password" -F "keystorePasswordConfirm=password" -F "truststorePassword=password" -F "truststorePasswordConfirm=password" -F "privatekeyFile=@localhostprivate.der" -F "certificateFile=@localhost.crt" -F "httpsPort=8443" http://host:port/libs/granite/security/post/sslSetup.html
Note: run the above cURL commands from the folder path where the .DER abd .CRT files are. else use the complete path for these files while using the different folder path.