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
{{ message }}
Repository navigation
acme module fails to set file permissions if the certificate is already present #48626
Run the above state file without the group: somegroup parameter.
Once the certificate is acquired (successful highstate), add the group parameter.
Highstate the minion. The module reports nothing changed, and the private key file is indeed still owned by group root.
Versions Report
2018.3.2, but looking at the code suggests that it's still present in develop.
$ salt --versions-report
Salt Version:
Salt: 2018.3.2
Dependency Versions:
cffi: 1.10.0
cherrypy: 3.2.2
dateutil: 2.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: Not Installed
pycparser: 2.18
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.14 (default, May 2 2018, 18:31:34)
python-gnupg: Not Installed
PyYAML: 3.10
PyZMQ: 14.5.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
System Versions:
dist:
locale: UTF-8
machine: x86_64
release: 4.14.51-60.38.amzn1.x86_64
system: Linux
version: Not Installed
Thanks for the PR! As it looks like your PR does indeed fix the issue I will close this issue and keep the conversation in the PR but let me know if this needs to be re-opened.
Activity
AstraLuma commentedon Jul 17, 2018
This seems to happen because of https://github.com/saltstack/salt/blob/v2018.3.2/salt/modules/acme.py#L172-L175 where it just exits if acme does nothing instead of checking the group.
Ch3LL commentedon Jul 18, 2018
Thanks for the PR! As it looks like your PR does indeed fix the issue I will close this issue and keep the conversation in the PR but let me know if this needs to be re-opened.
module/acme: Do not exit early when the certificate already exists