ich möchte hier eine subdomain zu einem Zertifikat mit certbot hinzufügen.
certot certificates zeigt folgende:
Code: Alles auswählen
certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: domain1.de
Serial Number: 48c5451c5a843ad2f2c44ec68f77c3d492a
Key Type: RSA
Domains: domain1.de domain1.com www.domain1.com www.domain1.de
Expiry Date: 2021-11-14 16:42:48+00:00 (VALID: 49 days)
Certificate Path: /etc/letsencrypt/live/domain1.de/fullchain.pem
Private Key Path: /etc/letsencrypt/live/domain1.de/privkey.pem
Certificate Name: mail.domain2.de
Serial Number: 363db2a76c757bb322c972c6090fe62cf00
Key Type: RSA
Domains: mail.domain2.de cloud.domain2.de domain2.de pad.domain2.de webmail.domain2.de www.domain2.de
Expiry Date: 2021-10-31 08:06:01+00:00 (VALID: 35 days)
Certificate Path: /etc/letsencrypt/live/mail.domain2.de/fullchain.pem
Private Key Path: /etc/letsencrypt/live/mail.domain2.de/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
root@mail:/opt/mailcow-dockerized#
dafür dachte ich brauche ich:
Code: Alles auswählen
certbot certonly --expand -d mail.domain2.de -d autodiscover.domain2.de
leider wird dann nicht das vorhandene erweitert, sondern ein neues zertifikat mit dem namen
Code: Alles auswählen
mail.domain2.de-0001
warum? was mache ich falsch?
Gruß und dank"