Repository navigation
Bug fixes in the acme module & state - #48635
Conversation
|
I was unable to test this change properly yet (due to some issues in the CI/CD pipeline we are using, it turns out overriding modules is tricky), but I will report back as soon as this is tested. |
Otherwise, acme.cert might fail to cert permissions on the certificate. Close #48626
As a bonus, the return value now indicates whether permissions where changed.
|
The CI failure seems to be unrelated, as |
|
@cachedout It's in principle not required (in so far that we can hardcode Should I make a separate PR (against |
|
BTW, @astronouth7303 tested the patched module yesterday, and it works as expected. |
|
@nbraud Seems like a reasonable explanation. Thanks! |
What does this PR do?
modeparameter to theacme.certfunctions in the state and execution modules.What issues does this PR fix or reference?
#48626, #48626
Previous Behavior
acme.certfails to set private key file permissions if the certificate is already present;acme.certsets the private key file mode to0600, making the specifiedgroupunable to read the private key.New Behavior
acme.certsets the private key file permissions at all times;acme.certsets the private key file mode to0640, unless overrode by the (optional)modeparameter.Tests written?
No
Commits signed with GPG?
Yes