diff --git a/config-templates/authsources.php b/config-templates/authsources.php
index 87d1834190581d8ee29dc136ecdc8df3ef5433ea..723c769788428a7e59fb3228f4d52444a5117fb9 100644
--- a/config-templates/authsources.php
+++ b/config-templates/authsources.php
@@ -228,7 +228,7 @@ $config = array(
 		'hostname' => 'ldap.example.org',
 
 		// Whether SSL/TLS should be used when contacting the LDAP server.
-		'enable_tls' => FALSE,
+		'enable_tls' => TRUE,
 
 		// Whether debug output from the LDAP library should be enabled.
 		// Default is FALSE.
diff --git a/config-templates/cas-ldap.php b/config-templates/cas-ldap.php
index 0eba48abd858bb113dfcc69f8f6ac46586035632..b60c710161043f04f0bde7d44f4dad6276cf3d7e 100644
--- a/config-templates/cas-ldap.php
+++ b/config-templates/cas-ldap.php
@@ -13,7 +13,7 @@ $casldapconfig = array (
 		),
 		'ldap' => array(
 			'servers' => 'idpentityid.example.org',
-			'enable_tls' => false,
+			'enable_tls' => true,
 			'searchbase' => 'dc=example,dc=org',
 			'searchattributes' => 'uid',
 			'attributes' => array('cn', 'mail'),
@@ -26,7 +26,7 @@ $casldapconfig = array (
 		),
 		'ldap' => array(
 			'servers' => 'ldap://idpentityid2.example.org',
-			'enable_tls' => false,
+			'enable_tls' => true,
 			'searchbase' => 'ou=users,dc=example,dc=org',
 			'searchattributes' => array('uid', 'mail'), # array for being able to login with either uid or mail.
 			'attributes' => null,
diff --git a/config-templates/ldap.php b/config-templates/ldap.php
index 192278eaf25a405a7ab4d3c5a0ce26d21891066b..5f1799ef7b354993de6b209e256a9937866aa449 100644
--- a/config-templates/ldap.php
+++ b/config-templates/ldap.php
@@ -16,7 +16,7 @@ $config = array (
 	'auth.ldap.dnpattern'  => 'uid=%username%,dc=feide,dc=no,ou=feide,dc=uninett,dc=no',
 	'auth.ldap.hostname'   => 'ldap.uninett.no',
 	'auth.ldap.attributes' => null,
-	'auth.ldap.enable_tls' => false,
+	'auth.ldap.enable_tls' => true,
 	
 	/*
 	 * Searching the DN of the user.
diff --git a/config-templates/ldapmulti.php b/config-templates/ldapmulti.php
index f8210b49f2df4149a7caf140f5c3b16937454dd0..f09bbcac6fdbf7c37e110fcd5c5288e865542597 100644
--- a/config-templates/ldapmulti.php
+++ b/config-templates/ldapmulti.php
@@ -14,7 +14,7 @@ $ldapmulti = array (
 		'dnpattern'			=> 'uid=%username%,dc=feide,dc=no,ou=feide,dc=uninett,dc=no',
 		'hostname'			=> 'ldap.uninett.no',
 		'attributes'		=> NULL,
-		'enable_tls'		=> FALSE,
+		'enable_tls'		=> TRUE,
 		'search.enable'		=> FALSE,
 		'search.base'		=> NULL,
 		'search.attributes'	=> NULL,