Web services: Difference between revisions

Jump to navigation Jump to search
330 bytes removed ,  25 August 2016
→‎Installation: add a note about Let's Encrypt for Ubuntu 16.04.01 (xenial)
Line 174: Line 174:
$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.pem -outform PEM
$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.pem -outform PEM
</source>
</source>
== Enable SSH public key authentication with an encrypted home folder ==
''Tested on Ubuntu 16.04 LTS''
<syntaxhighlight lang="bash">
$ /sbin/umount.ecryptfs_private
$ cd $HOME
$ chmod 700 .
$ mkdir -m 700 .ssh
$ chmod 500 .
$ echo $YOUR_REAL_PUBLIC_KEY > .ssh/authorized_keys
$ /sbin/mount.ecryptfs_private
</syntaxhighlight>


= Miscellaneous =
= Miscellaneous =

Navigation menu