Install certbot
yum install certbot.noarch
stop httpd if running
service httpd stop
create certificate valid for www.itbetrieb.de and itbeetrieb.de
[root@??? ~]# certbot certonly --standalone -d itbetrieb.de -d www.itbetrieb.de
find certificates and keys in
[root@h1826968 itbetrieb.de]# pwd /etc/letsencrypt/live/itbetrieb.de [root@??? itbetrieb.de]# ll insgesamt 0 lrwxrwxrwx 1 root root 36 5. Jun 16:30 cert.pem -> ../../archive/itbetrieb.de/cert1.pem lrwxrwxrwx 1 root root 37 5. Jun 16:30 chain.pem -> ../../archive/itbetrieb.de/chain1.pem lrwxrwxrwx 1 root root 41 5. Jun 16:30 fullchain.pem -> ../../archive/itbetrieb.de/fullchain1.pem lrwxrwxrwx 1 root root 39 5. Jun 16:30 privkey.pem -> ../../archive/itbetrieb.de/privkey1.pem
edit
[root@h1826968 conf.d]# ll /etc/httpd/conf.d/ssl.conf -rw-r--r-- 1 root root 9726 5. Jun 16:34 /etc/httpd/conf.d/ssl.conf
Update Certificate:
systemctl stop httpd certbot renew systemctl start httpd