-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Description
Currently (in my version) the certificate is displayed in the output like this
[Sun Nov 23 17:18:43 CET 2025] imap.simplynova.com is already verified, skip http-01.
[Sun Nov 23 17:18:43 CET 2025] pop.simplynova.com is already verified, skip http-01.
[Sun Nov 23 17:18:43 CET 2025] Verify finished, start to sign.
[Sun Nov 23 17:18:43 CET 2025] Lets finalize the order.
[Sun Nov 23 17:18:43 CET 2025] Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/1375223026/451756491046'
[Sun Nov 23 17:18:46 CET 2025] Downloading cert.
[Sun Nov 23 17:18:46 CET 2025] Le_LinkCert='https://acme-v02.api.letsencrypt.org/acme/cert/06a2cc821a95fab969727d1307f38ddb687e'
[Sun Nov 23 17:18:47 CET 2025] Cert success.
-----BEGIN CERTIFICATE-----
MIIFkTCCBHmgAwIBAgISBqLMghqV+rlpcn0TB/ON22h+MA0GCSqGSIb3DQEBCwUA
MDMxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQwwCgYDVQQD
EwNSMTMwHhcNMjUxMTIzMTUyMDE0WhcNMjYwMjIxMTUyMDEzWjAdMRswGQYDVQQD
ExJtYWlsLnNpbXBseW5vdmEuZXUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQCvp9XKygUhxXYFKJmRBojPPxvY0+YI7YB1lypYBMp8aeM7//smPIRitpuO
IKhKy/B7QF7zdk9C3OGIkR+UlteD5G2NUEdAQ37uUwGlG5lvpXr5nGUXwOIAuLrD
3A/Spou+vqNGOdU0tTxcT/k9VfaAOIkMqp0yDS2ABhIfUoMQX/08aE1D0X8xI2TC
39e2nF4k4CG6PVzF+xC5kTvQRC2UfA65eYjWpMTqKsmw7Aou4n2lcQJLdDXRhG50
hUvzqe2kMZDTdRrM71ziWhx7eXFlr+mPsoai7gcJ0R+Ben5fuBYQHjij0t/u20dE
I have noticed that when the cer file is not writable (changing file permissions before and after running) the cer file is obviously not updated. So I thought ok copy the output from the log to the file. This did not work, because the script 'probably' assumes the renewal was ok and outputs the file from disk (which is old and not updated)
So the enhancement would be to not output the content of the file, but the variable that has the new downloaded cert stored.
Metadata
Metadata
Assignees
Labels
No labels