Changes for page Server-Zertifikat

Last modified by Michael Oberrauch on 2025/11/03 18:42

From version 23.1
edited by Michael Oberrauch
on 2025/11/03 18:42
Change comment: There is no comment for this version
To version 21.1
edited by Leo Fahrbach
on 2025/08/14 12:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.oberrauc
1 +XWiki.fahrbach
Content
... ... @@ -140,10 +140,11 @@
140 140   mkdir -pm700 /var/lib/rbg-cert/live/ # certs will be here
141 141   cd /var/lib/rbg-cert/live/
142 142  
143 - # Private Key erstellen
144 - openssl genrsa -out $UQN.privkey.pem 4096
143 + openssl genpkey -algorithm ed25519 -out $UQN.privkey.pem
144 + # Falls RSA benötigt wird: openssl genrsa -out $UQN.privkey.pem 4096
145 145  
146 - openssl rsa -in $UQN.privkey.pem -pubout
146 + openssl pkey -in $UQN.privkey.pem -pubout
147 + # für RSA: openssl rsa -in $UQN.privkey.pem -pubout
147 147   # Diesen pubkey dann in der StrukturDB für PIRA registrieren
148 148  
149 149  `rbg-cert` und systemd timer/service sind von einer aktuellen Ubuntu-VM zu kopieren.
... ... @@ -183,10 +183,10 @@
183 183  `openssl req -newkey rsa:3072 -nodes -keyout SERVERNAME.key -out SERVERNAME.csr -subj '/C=DE/O=Technische Universitaet Muenchen/CN=SERVERNAME.cit.tum.de'`
184 184  Weitere namen in csr packen:
185 185  `-addext "subjectAltName = DNS:OTHERNAME.cit.tum.de, DNS:ANOTHERNAME.cit.tum.de"`
186 -1. [Bei der CA](https://cm.harica.gr):
187 +1. [Bei der CA](https://cert-manager.com/customer/DFN/ssl/dUIh9O1QABKy40PikBgN):
187 187   1. `.csr` hochladen
188 188   1. unter "Subject Alternative Names" alle weiteren ggf. benötigten Namen eintragen
189 189   1. alle anderen Felder leer lassen
190 190  1. Bitte den `commonName` (CN) mit Begründung warum rbg-cert und Let's Encrypt nicht möglich sind per E-Mail an [support@ito.cit.tum.de](support@ito.cit.tum.de) schicken.
191 191  1. auf "Certificate approved" E-Mail warten, "Certificate ID" entnehmen
192 -1. [herunterladen](https://cm.harica.gr) mit ID und "Certificate (w/issuer after)"
193 +1. [herunterladen](https://cert-manager.com/customer/DFN/idp/ssl/dUIh9O1QABKy40PikBgN?action=download) mit ID und "Certificate (w/issuer after)"