I got the system diagnosis message
Zertifikat ‘/etc/univention/ssl/ucsCA/CAcert.pem’ wird in 12 Tagen ablaufen.
Zertifikat ‘/etc/univention/letsencrypt/signed_chain.crt’ wird in 14 Tagen ablaufen.
Zertifikat ‘/etc/univention/letsencrypt/signed_chain.crt’ wird in 14 Tagen ablaufen.
Zertifikat ‘/etc/univention/letsencrypt/signed_chain.crt’ wird in 14 Tagen ablaufen.
Zertifikat ‘/etc/univention/ssl/ucsCA/certs/01.pem’ wird in 12 Tagen ablaufen.
Zertifikat ‘/etc/univention/ssl/ucsCA/certs/02.pem’ wird in 12 Tagen ablaufen.
Zertifikat ‘/etc/univention/ssl/ucsCA/certs/03.pem’ wird in 12 Tagen ablaufen.
Zertifikat ‘/etc/univention/ssl/ucsCA/certs/04.pem’ wird in 19 Tagen ablaufen.
Zertifikat ‘/etc/univention/ssl/ucsCA/certs/05.pem’ wird in 26 Tagen ablaufen.
So I read the linked post http://sdb.univention.de/1000 and tried to renew with
openssl x509 -in CAcert.pem -out NewCAcert.pem -days "$(ucr get ssl/default/days)" \
-passin file:/etc/univention/ssl/password \
-signkey private/CAkey.pem \
-sha256
This leads to
-bash: ucr: Kommando nicht gefunden.
x509: Can't parse "" as a number
x509: Non-positive number "" for -days
x509: Use -help for summary.
I checked the UCR via web interface, got the value 1825 days, changed “$(ucr get ssl/default/days)” to 1825, tried again and it worked: the first line with CAcert.pem is vanished.
But how to do with /etc/univention/ssl/ucsCA/certs/01.pem to /etc/univention/ssl/ucsCA/certs/05.pem ? Do the same? But in this case: what do I have to use for password file and signkey?
Thank you for your help.