Gunnar Beutner
043106242d
Remove API stubs for now
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
88e57f7fd4
Implement support for cleaning up certificate requests
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
0a85977831
Node Wizard: Tell the user to put ca.crt if no connection to parent is selected
...
This also fixes the choice tree for connection-less questions
and prevents empty tickets being stored on disk.
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
2fec16952d
Remove unused code
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
f43516a097
Implement the --verbose option for "node wizard"
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
e424017c15
Refactor the node wizard/setup CLI commands
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
181b91b759
Enhance logging for certificate requests
...
Examples:
https://github.com/Icinga/icinga2/issues/5450#issuecomment-327479874
This also adds code comments where applicable.
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
ce88e89cc0
Fix wrong cert path for CLI commands
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
a7fe6467ba
Improve log messages for the 'pki save-cert' command
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
8040bda2e1
Change directory layout to /var/lib/icinga2/{ca,certs,certificate_requests}
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
88b4a54e6b
Fix ticket hash calculation for indirectly connected clients
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
c02742925e
Refactor PkiUtility class
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
1e7860f2b1
Implement ApiListener::Get*Dir() functions
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
6a533796e5
Update output format for the new CLI commands
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
774936bfe8
Implement support for pki::UpdateCertificate messages
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
623208d617
Implement support for forwarding certificate requests
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
03f5ccd252
Implement support for cleaning up expired API callbacks
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
cc43dc734b
Refuse to sign certificate if it already has the correct chain and doesn’t expire soon
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
440f848c7c
Improve error handling for JSON-RPC calls
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
a8cc0a601b
Add missing _unlink() calls for Windows
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
cb49ac1264
Delete ticket file once we have a signed certificate
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
4cfbf6eb17
Disconnect all clients when we update our own certificate
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
439251532e
Implement support for saving client tickets
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
192502f9e5
Implement support for reloading SSL certificates without a restart
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
0ec07bce51
Implement support for updating client certificates
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
cdff792c11
Make the ticket optional in 'icinga2 node wizard'
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
8d05fc99c9
Improve message formatting for the 'icinga2 node wizard' command
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
a4684d1bfd
Implement support for sending pki::RequestCertificate messages in the cluster
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
b08f5477dc
Change PKI path from /etc/icinga2/pki to /var/lib/icinga2/pki
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
abdd4b307b
Implement the 'ca list' and 'ca sign' CLI commands
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
510e2d622a
Implement support for ticket-less certificate requests
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
1d75a15d8e
ElasticWriter: Implement support for TLS connections (HTTP proxy)
...
This commit also enhances the log messages.
refs #5538
2017-09-12 12:52:49 +02:00
Michael Friedrich
95fbd75df8
ElasticWriter: Add basic auth support for Elasticsearch behind an HTTP proxy
...
refs #5538
2017-09-12 12:52:49 +02:00
Michael Friedrich
344b047ea0
Move Base64 class into libbase
...
refs #5538
2017-09-12 12:52:49 +02:00
Michael Friedrich
386b9de042
Drop obsolete code
...
refs #4054
2017-09-12 12:52:49 +02:00
Jean Flach
e19d3f57c7
Add ElasticWriter
...
fixes #5538
2017-09-12 12:52:49 +02:00
Michael Friedrich
9e17ff874b
Logs: Change config sync update to highlight an information, not an error
...
fixes #5484
2017-09-12 12:52:49 +02:00
Gunnar Beutner
b316de8aea
Implement additional logging for the JsonRpc class
2017-09-12 12:52:49 +02:00
Michael Friedrich
ef8a6cad1d
Merge pull request #5559 from rhopfer/fix/disk-exclude-configfs
...
Exclude configfs from disk checks
2017-09-07 12:32:23 +02:00
Roland Hopferwieser
c5dad15d3a
Exclude configfs from disk checks
2017-09-07 11:49:52 +02:00
Michael Friedrich
08486a0f7c
Fix tests for URL formatting changes
...
refs #5558
2017-09-07 11:26:19 +02:00
Michael Friedrich
94707f9765
Merge pull request #5558 from Icinga/fix/http-request
...
Don't sent scheme and hostname in request
2017-09-06 16:18:36 +02:00
Jean Flach
de51966f52
Don't sent scheme and hostname in request
2017-09-06 16:01:02 +02:00
Gunnar Beutner
a8bac0a42e
Merge pull request #5549 from ctrlaltca/patch-1
...
Fix cli command used to enable debuglog feature on windows
fixes #5549
2017-09-05 12:11:55 +02:00
ctrlaltca
da7a900f55
Fix cli command used to enable debuglog feature on windows
2017-09-05 11:28:18 +02:00
Michael Friedrich
6d03d0a499
Merge pull request #5495 from federico-cuello-sociomantic/patch-1
...
Fix parameter order for AcknowledgeSvcProblem / AcknowledgeHostProblem / apiactions:AcknowledgeProblem
2017-09-05 11:13:33 +02:00
Federico Cuello
a6b4bd48e2
Fix parameter order for Acknowledge{,Svc,Host}Problem in API actions/external commands
...
It was preventing email notifications with default settings, as `persistent` defaults to false and therefore `notify` was not set.
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-09-05 08:50:22 +02:00
Michael Friedrich
aac9ffd983
Merge pull request #5536 from nbuchwitz/patch-1
...
Fixed nscp-disk service example
2017-09-05 08:40:36 +02:00
Michael Friedrich
fb71055526
Merge pull request #5543 from tobiasvdk/fix/ipmi-sensors-checkcommand-5542
...
ITL: Correct arguments for ipmi-sensor CheckCommand
2017-09-05 08:38:03 +02:00
Tobias von der Krone
e84fbf3a97
ITL: Correct arguments for ipmi-sensor CheckCommand
...
Replace the wrong "set_if" attribute and assign the value correctly.
fixes #5542
2017-09-01 14:19:07 +02:00