Friday, 17 April 2015

SSL on AEM 6 Author (Ubuntu)

Create a directory named ssl in the directory where the quickstart JAR file is located.

go there and below commands (Please change default valuse)

keytool -genkeypair -keyalg RSA -validity 3650 -alias cqse -keystore /Misc/SelfWork/Author/ssl/cqkeystore.keystore -keypass password -storepass password -dname "CN=sbroders-w7, OU=CQ, O=Adobe, L=Ottawa,S=Ontario, C=CA"


 keytool -export -alias cqse -file client.cer -keystore cqkeystore.keystore


 keytool -import -v -trustcacerts -alias cqse -file client.cer -keystore truststore.ts



Next


  1. Open CRXDE Lite and select the /apps folder. Click Create > Create Folder to create a folder named system (http://localhost:4502/crx/de).
  2. Below the system folder create a folder named config.author.
  3. Select the /apps/system/config.author node.
  4. Click Create > Create Node and enter the following properties:
    • Name: org.apache.felix.http
    • Type: sling:OsgiConfig 


Add properties to the node according to the following table:
Name Type Value
org.apache.felix.https.enable Boolean true
org.osgi.service.http.port.secure Long 5433
org.apache.felix.https.nio Boolean true
org.apache.felix.https.keystore String [quickstart_dir]/ssl/cqkeystore.keystore
org.apache.felix.https.keystore.password String The password.
org.apache.felix.https.keystore.key String alias e.g. cqse
org.apache.felix.https.keystore.key.password String The password.
org.apache.felix.https.truststore String Path to truststore
org.apache.felix.https.truststore.password String Truststore password.
(Optional) org.apache.felix.https.clientcertificate String Defaults to none


For more info http://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/config-ssl.html