diff --git a/config/alfresco-global.properties.sample b/config/alfresco-global.properties.sample
index 6c99a6e2f0..ae0cbdce3c 100644
--- a/config/alfresco-global.properties.sample
+++ b/config/alfresco-global.properties.sample
@@ -6,6 +6,7 @@
# Sample custom content and index data location
#
#dir.root=/srv/alfresco/alf_data
+#dir.keystore=${dir.root}/keystore
#
# Sample database connection properties
diff --git a/config/alfresco/bootstrap-context.xml b/config/alfresco/bootstrap-context.xml
index caeeef3de8..8442086ddb 100644
--- a/config/alfresco/bootstrap-context.xml
+++ b/config/alfresco/bootstrap-context.xml
@@ -168,18 +168,17 @@
-
-
-
-
-
-
+
+
+
+
+
@@ -811,5 +810,4 @@
-
diff --git a/config/alfresco/core-services-context.xml b/config/alfresco/core-services-context.xml
index 490a75af21..17fa24849a 100644
--- a/config/alfresco/core-services-context.xml
+++ b/config/alfresco/core-services-context.xml
@@ -1019,11 +1019,15 @@
+
+
+
+
diff --git a/config/alfresco/encryption-context.xml b/config/alfresco/encryption-context.xml
index 8433ba0743..57d675a510 100644
--- a/config/alfresco/encryption-context.xml
+++ b/config/alfresco/encryption-context.xml
@@ -46,6 +46,13 @@
+
+
+
+
+
+
+
@@ -55,35 +62,27 @@
-
-
-
-
diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml
index 59129e25e2..206e2ebe66 100644
--- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml
+++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml
@@ -763,13 +763,25 @@
+
+
select
aspects.node_id as node_id,
aspects.qname_id as qname_id
-