This is an old revision of the document!


ACME

acme.sh

installation

[root@vps ~]# mkdir acme
[root@vps ~]# cd acme
[root@vps acme]# wget https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[root@vps acme]# tar zxvf master.tar.gz
acme.sh-master/
acme.sh-master/.github/
[root@vps acme]# cd acme.sh-master/
[root@vps acme.sh-master]# ./acme.sh --install --nocron
[jeu. nov.  4 21:37:30 CET 2021] It is recommended to install socat first.
[jeu. nov.  4 21:37:30 CET 2021] We use socat for standalone server if you use standalone mode.
[jeu. nov.  4 21:37:30 CET 2021] If you don't use standalone mode, just ignore this warning.
[jeu. nov.  4 21:37:30 CET 2021] Installing to /root/.acme.sh
[jeu. nov.  4 21:37:30 CET 2021] Installed to /root/.acme.sh/acme.sh
[jeu. nov.  4 21:37:30 CET 2021] Installing alias to '/root/.bashrc'
[jeu. nov.  4 21:37:30 CET 2021] OK, Close and reopen your terminal to start using acme.sh
[jeu. nov.  4 21:37:30 CET 2021] Installing alias to '/root/.cshrc'
[jeu. nov.  4 21:37:30 CET 2021] Installing alias to '/root/.tcshrc'
[jeu. nov.  4 21:37:30 CET 2021] Good, bash is found, so change the shebang to use bash as preferred.
[jeu. nov.  4 21:37:31 CET 2021] OK

À ce stade, le client est installé dans /root/.acme.sh/ et nulle part ailleurs.

clé DDNS API gandi

[root@vps ~]# export GANDI_LIVEDNS_KEY=“SECRETSECRETKEY”

register email

[root@vps ~]#  ~/.acme.sh/acme.sh --register-account -m admin@domain.fr
[jeu. nov.  4 22:45:12 CET 2021] No EAB credentials found for ZeroSSL, let's get one
[jeu. nov.  4 22:45:13 CET 2021] Registering account: https://acme.zerossl.com/v2/DV90
[jeu. nov.  4 22:45:14 CET 2021] Registered
[jeu. nov.  4 22:45:14 CET 2021] ACCOUNT_THUMBPRINT='secret-SECRET-SE-K__CRET'

references

docpublic/systemes/acme_auto.1636062539.txt.gz · Last modified: 2021/11/04 21:48 by adminjp
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0