Letsencrypt Howto

From Cactus Howto
Revision as of 10:37, 25 March 2016 by Tim (talk | contribs) (Die Seite wurde neu angelegt: „This applies to apache2 webservers running on debian and ubuntu. Source: https://letsencrypt.org/getting-started/ * install git (necssary for downloading let…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This applies to apache2 webservers running on debian and ubuntu.

Source: https://letsencrypt.org/getting-started/

  • install git (necssary for downloading letsencrypt)
apt-get install git
  • optional: set proxy for https access to github:
export https_proxy=http://proxy:3128
  • download letsencrypt from github:
git clone https://github.com/letsencrypt/letsencrypt
  • let letsencrypt modify the apache2 config
cd letsencrypt
./letsencrypt-auto --help
  • Full protocol
howto:/etc/apache2# aptitude install git
The following NEW packages will be installed:
  git git-man{a} liberror-perl{a} rsync{a} 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,030 kB of archives. After unpacking 26.5 MB will be used.
Do you want to continue? [Y/n/?] 
Get: 1 http://ftp.de.debian.org/debian/ jessie/main liberror-perl all 0.17-1.1 [22.4 kB]
Get: 2 http://ftp.de.debian.org/debian-security/ jessie/updates/main git-man all 1:2.1.4-2.1+deb8u2 [1,267 kB]
Get: 3 http://ftp.de.debian.org/debian-security/ jessie/updates/main git i386 1:2.1.4-2.1+deb8u2 [3,342 kB]
Get: 4 http://ftp.de.debian.org/debian/ jessie/main rsync i386 3.1.1-3 [399 kB]
Fetched 5,030 kB in 6s (748 kB/s)                                               
Selecting previously unselected package liberror-perl.
(Reading database ... 66486 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.1.4-2.1+deb8u2_all.deb ...
Unpacking git-man (1:2.1.4-2.1+deb8u2) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u2_i386.deb ...
Unpacking git (1:2.1.4-2.1+deb8u2) ...
Selecting previously unselected package rsync.
Preparing to unpack .../rsync_3.1.1-3_i386.deb ...
Unpacking rsync (3.1.1-3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u3) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:2.1.4-2.1+deb8u2) ...
Setting up git (1:2.1.4-2.1+deb8u2) ...
Setting up rsync (3.1.1-3) ...
Processing triggers for systemd (215-17+deb8u3) ...
howto:/etc/apache2# git clone https://github.com/letsencrypt/letsencrypt
Cloning into 'letsencrypt'...
remote: Counting objects: 33273, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 33273 (delta 13), reused 0 (delta 0), pack-reused 33242
Receiving objects: 100% (33273/33273), 8.73 MiB | 1.13 MiB/s, done.
Resolving deltas: 100% (23621/23621), done.
Checking connectivity... done.
howto:/etc/apache2#