Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
vms:openldap [2015/11/15 16:49]
admin [Install phpLDAPadmin]
vms:openldap [2015/11/15 17:03]
admin [Securing access with a self-signed certificate]
Line 109: Line 109:
 </​code>​ </​code>​
  
 +Now let's enable the default ssl apache configuration:​
 +<​code>​
 +> nano -c /​etc/​apache2/​sites-available/​default-ssl
 +...
 +    ServerAdmin webmaster@localhost
 +    ServerName 192.168.1.211
 +...
 +[line 43/44]
 +   ​SSLCertificateFile ​   /​etc/​apache2/​ssl/​apache.crt
 +   ​SSLCertificateKeyFile /​etc/​apache2/​ssl/​apache.key ​
 +...
 +
 +> a2ensite default-ssl
 +> service apache2 restart
 +</​code>​
 +
 +We now have an encrypted connection to our LDAP server.