How to Edit online over SSL on Alfresco Community 5.0.b

I was finally able to setup Edit online over SSL on Alfresco Community 5.0.B. Here's my setup:

Ubuntu 14.4

Apache as frontend 

Tomcat serving Alfresco pages through apache.

I am assuming you are familiar with Linux, Alfresco and Apache and thus would not go in-depth.

Enable Modules:

a2enmod rewrite proxy_ajp rewrite ssl

Create a virtual host for SSL access and add the following, replace <FQDN> with the domain name:

ServerName <FQDN>

ProxyRequests off

RewriteEngine On

RewriteCond %{REQUEST_URI} !^/alfresco*

RewriteCond %{REQUEST_URI} !^/share*

RewriteRule /(.*)$ /share$0 [R]

ProxyPass /alfresco ajp://

ProxyPassReverse /alfresco ajp://

ProxyPass /share ajp://

ProxyPassReverse /share ajp://

ProxyPass /

ProxyPassReverse /

ProxyPass /_vti_bin/

ProxyPassReverse /_vti_bin/

ProxyPass /_vti_inf.html

ProxyPassReverse /_vti_inf.html

ProxyPass /_vti_history/

ProxyPassReverse /_vti_history/

Enable the virtual host, don't forget the SSL certificates

Create tomcat/shared/classes/alfresco/extension/vti-custom-context.xml and add the following content:

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://'>



  <bean id="vtiServerConnector"


    <property name="port">



    <property name="headerBufferSize">





  <!-- Use this Connector instead for SSL communications -->

  <!-- You will need to set the location of the KeyStore holding your -->

  <!-- server certificate, along with the KeyStore password -->

  <!-- You should also update the vti.server.protocol property to https


  <bean id="vtiServerConnector" class="">

    <property name="port">



    <property name="headerBufferSize">



    <property name="maxIdleTime">



    <property name="keystore">



    <property name="keyPassword">



    <property name="keystoreType">





Edit tomcat/shared/classes/ and add:









Stop and start Apache and alfresco.

Edit online will now work on SSL with the default certificate.