New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #10641] API setup command incorrectly overwrites existing certificates #3670
Comments
Updated by jflach on 2015-11-20 14:06:51 +00:00 I could not reproduce this with 2.4 or the current master. Icinga2 notified me certificates already existed and skipped the certificate creation, expected behaviour |
Updated by gbeutner on 2015-11-21 03:38:23 +00:00
|
Updated by mfriedrich on 2015-11-23 14:58:41 +00:00 The client is setup as follows:
When api setup is executed, the content in /etc/icinga2/pki must not be overridden (/var/lib/icinga2/ca can be empty, and does not qualify for a check). |
Updated by mfriedrich on 2015-11-25 14:27:48 +00:00 There's already a check for existing certificate key file in /etc/icinga2/pki so I'm not sure what happened last week during the tests. |
Updated by gbeutner on 2015-11-26 07:00:22 +00:00 Well, apparently it's not overwriting existing certificate files, but it's creating additional certificates:
|
Updated by gbeutner on 2015-11-26 07:01:38 +00:00 Oh, nevermind, it did overwrite one of the certificates: ca.crt |
Updated by gbeutner on 2015-11-26 07:02:46 +00:00
|
Updated by gbeutner on 2015-11-26 07:09:54 +00:00
|
Updated by gbeutner on 2015-11-26 07:12:38 +00:00
|
Updated by Anonymous on 2015-11-26 07:15:05 +00:00
Applied in changeset 7f9337e. |
Updated by mfriedrich on 2015-11-26 07:46:53 +00:00 Hm ok thanks. My test setup does not modify the NodeName constant, just using fqdn :) |
Updated by mfriedrich on 2015-11-26 08:48:57 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10641
Created by mfriedrich on 2015-11-16 09:51:04 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2015-11-26 07:15:05 +00:00)
Target Version: 2.4.1
Last Update: 2015-11-26 08:48:57 +00:00 (in Redmine)
Changesets
2015-11-26 07:11:02 +00:00 by (unknown) 7f9337e
2015-11-26 07:12:13 +00:00 by (unknown) 05af1cb
The text was updated successfully, but these errors were encountered: