LetsEncrypt » Historique » Version 4
Matthieu Herrb, 04/04/2017 09:51
install acme-client sur wheezy
1 | 1 | Laurent GUERBY | {{>toc}} |
---|---|---|---|
2 | 1 | Laurent GUERBY | |
3 | 1 | Laurent GUERBY | h1. LetsEncrypt |
4 | 1 | Laurent GUERBY | |
5 | 1 | Laurent GUERBY | h2. Liens |
6 | 1 | Laurent GUERBY | |
7 | 1 | Laurent GUERBY | * https://letsencrypt.org/ |
8 | 1 | Laurent GUERBY | ** https://letsencrypt.readthedocs.org/en/latest/ |
9 | 1 | Laurent GUERBY | ** https://github.com/letsencrypt/letsencrypt |
10 | 2 | Laurent GUERBY | * http://www.silicon.fr/https-ovh-rapproche-lets-encrypt-134437.html |
11 | 1 | Laurent GUERBY | * https://www.ekito.fr/people/lets-encrypt-installation-et-renouvellement-automatique-des-certificats/ |
12 | 1 | Laurent GUERBY | * https://blog.imirhil.fr/2015/12/12/letsencrypt-joie-deception.html |
13 | 1 | Laurent GUERBY | * https://github.com/diafygi/acme-tiny |
14 | 1 | Laurent GUERBY | * http://www.ossir.org/resist/supports/cr/2015/2015-12-15/2015-12-15-LetsEncrypt.pdf |
15 | 1 | Laurent GUERBY | * https://www.metachris.com/2015/12/comparison-of-10-acme-lets-encrypt-clients/ |
16 | 3 | Laurent GUERBY | * http://www.nextinpact.com/news/97864-lets-encrypt-gandi-infomaniak-et-ovh-vont-integrer-certificats-a-leurs-offres.htm |
17 | 4 | Matthieu Herrb | |
18 | 4 | Matthieu Herrb | h2. Configuration avec acme-client |
19 | 4 | Matthieu Herrb | |
20 | 4 | Matthieu Herrb | https://kristaps.bsd.lv/acme-client/ client C orienté sécu développé par Kristaps Dzonsons |
21 | 4 | Matthieu Herrb | |
22 | 4 | Matthieu Herrb | h3. installation sur wheezy |
23 | 4 | Matthieu Herrb | |
24 | 4 | Matthieu Herrb | Dépendances: |
25 | 4 | Matthieu Herrb | * libbsd (@apt-get install libbsd-dev@) |
26 | 4 | Matthieu Herrb | * libressl |
27 | 4 | Matthieu Herrb | <pre> |
28 | 4 | Matthieu Herrb | $ git clone https://github.com/libressl-portable/portable.git libressl |
29 | 4 | Matthieu Herrb | $ cd libressl |
30 | 4 | Matthieu Herrb | $ ./autogen.sh |
31 | 4 | Matthieu Herrb | $ ./configure --prefix=/usr/local |
32 | 4 | Matthieu Herrb | $ make |
33 | 4 | Matthieu Herrb | $ sudo make install |
34 | 4 | Matthieu Herrb | </pre> |
35 | 4 | Matthieu Herrb | |
36 | 4 | Matthieu Herrb | acme-client: |
37 | 4 | Matthieu Herrb | <pre> |
38 | 4 | Matthieu Herrb | $ git clone https://github.com/kristapsdz/acme-client-portable |
39 | 4 | Matthieu Herrb | $ cd acme-client-portable |
40 | 4 | Matthieu Herrb | </pre> |
41 | 4 | Matthieu Herrb | |
42 | 4 | Matthieu Herrb | Appliquer ce patch pour que l'exécutable trouve libressl dans @/usr/local@: |
43 | 4 | Matthieu Herrb | <pre> |
44 | 4 | Matthieu Herrb | diff --git a/GNUmakefile b/GNUmakefile |
45 | 4 | Matthieu Herrb | index 9b0ed80..3c89b4f 100644 |
46 | 4 | Matthieu Herrb | --- a/GNUmakefile |
47 | 4 | Matthieu Herrb | +++ b/GNUmakefile |
48 | 4 | Matthieu Herrb | @@ -43,7 +43,7 @@ CFLAGS += -DMUSL_LIBC |
49 | 4 | Matthieu Herrb | endif |
50 | 4 | Matthieu Herrb | |
51 | 4 | Matthieu Herrb | CFLAGS += -I/usr/local/include/libressl |
52 | 4 | Matthieu Herrb | -LDFLAGS += -L/usr/local/lib |
53 | 4 | Matthieu Herrb | +LDFLAGS += -L/usr/local/lib -Wl,-rpath /usr/local/lib |
54 | 4 | Matthieu Herrb | OBJS += util-portable.o |
55 | 4 | Matthieu Herrb | |
56 | 4 | Matthieu Herrb | # Do we have libseccomp installed? |
57 | 4 | Matthieu Herrb | </pre> |
58 | 4 | Matthieu Herrb | |
59 | 4 | Matthieu Herrb | Puis continuer: |
60 | 4 | Matthieu Herrb | |
61 | 4 | Matthieu Herrb | <pre> |
62 | 4 | Matthieu Herrb | $ make |
63 | 4 | Matthieu Herrb | $ sudo make install |
64 | 4 | Matthieu Herrb | </pre> |