Hint: Please read the main article on server certificates first. This also explains what ACME is
To obtain a certificate through ACME and install it on the server, an ACME client is required. We describe a client for Linux and Windows. Information about other ACME clients can be found here: https://acmeclients.com
The ACME clients described below can integrate into an existing wbserver or can set up a temporary web server for the domain validation that's part of the certificate issuance process.
Installation:
Debian/Ubuntu:
sudo apt install certbot python3-certbot-apache
OpenSuSE/SLES:
sudo zypper install python3-certbot python3-certbot-apache
if "nginx" is used one the server, install python3-certbot-nginx instead
Issue a certificate:
certbot run -m AMIN-EMAIL@tu-dresden.de --server https://acme.pki.cert.tu-dresden.de/ -d example1.cert.tu-dresden.de -d example2.tu-dresden.de
The parameter “-d” is used to specify the host names/domains for which certificates are to be issued
The “-m” parameter is used to specify the e-mail address for certificate expiry notifications
The “certbot run” command retrieves a new certificate and sets it up on the web server. Sometimes further packages are required for this (e.g. python3-certbot-apache for Debian with an Apache web server).
Further information on certbot, e.g. on the automatic renewal of certificates, can be found in the official certbot documentation: https://certbot.eff.org/docs
Installation:
Download Simple-acme from https://simple-acme.com/download and unpack the archive
wacs.exe --baseuri “https://acme.pki.cert.tu-dresden.de/” --source manual --host example1.cert.tu-dresden.de,example2.cert.tu-dresden.de
Further information and the download for simple-acme can be found on the project website: https://simple-acme.com/
unpack the tar file:tar xf "dehydrated-X.Y.Z.tar.gz"
nginx: grep 'root\s' /etc/nginx/ -R
apache: grep DocumentRoot /etc/apache2/ -R
or: grep DocumentRoot /etc/httpd/ -R
export WEBROOT=/webroot sudo mkdir -p $WEBROOT/.well-known/acme-challenge sudo chmod o+rx $WEBROOT/.well-known/acme-challenge $WEBROOT/.well-known/
Get a new certificate by running:sudo dehydrated -c -f /etc/dehydrated/config