You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i would have opened a discussion if they where enabled in this git repo. i am not sure if i simply do something wrong or if i found a bug.
for the development i created the certificates with the ca letsencrypt_test. this worked quite well, just needed some puppet runs and the certificate was correctly there. after that i switched to the ca letsencrypt but the certificates where still from the test ca. i wasn't able to force a regeneration of the cert.
so i tried to delete the complete acme folder from the client but after the puppet run the i got wrong certs again. also tried to delete the folder on server and client which led me to an unusable system (not exactly in this order, i played around a bit) as "suddenly" the private key doesn't match the cert any more.
Jan 10 02:25:09 aio001 nginx[932050]: nginx: [emerg] SSL_CTX_use_PrivateKey("/etc/acme.sh/keys/.../private.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Jan 10 02:25:09 aio001 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
am i doing something wrong? should this module be able to switch ca's? how can i start-over? how to force regeneration?
The text was updated successfully, but these errors were encountered:
And it needs to be implemented in a backwards-compatible way. Existing certs would not be altered, it would only be used for new certificates (similar to how we've done it for account configs).
(I consider this a bug, because it is an unexpected result. However, the module was not designed for this in the first place, so in reality this is a somewhat complicated feature request.)
fraenki
changed the title
[ question / documentation / bug? ] switching ca from test to prod does not regenerate certs
Switching CA does not regenerate certs
Sep 12, 2023
i would have opened a discussion if they where enabled in this git repo. i am not sure if i simply do something wrong or if i found a bug.
for the development i created the certificates with the ca
letsencrypt_test
. this worked quite well, just needed some puppet runs and the certificate was correctly there. after that i switched to the caletsencrypt
but the certificates where still from the test ca. i wasn't able to force a regeneration of the cert.so i tried to delete the complete acme folder from the client but after the puppet run the i got wrong certs again. also tried to delete the folder on server and client which led me to an unusable system (not exactly in this order, i played around a bit) as "suddenly" the private key doesn't match the cert any more.
am i doing something wrong? should this module be able to switch ca's? how can i start-over? how to force regeneration?
The text was updated successfully, but these errors were encountered: