Jean Flach
08eb3ef991
Fix crash in api user command
...
Missing backport in support/2.8
fixes #6178
2018-03-23 12:13:41 +01:00
Jean Flach
f357439485
Code style
2018-03-07 09:57:08 +01:00
Jean Flach
c6b86680a0
Add cli tool to send signals as Icinga user
...
fixes #5991
2018-02-23 14:01:09 +01:00
Gunnar Beutner
492b590a29
Remove debug output in ApiUserCommand::Run
2018-02-23 13:07:56 +01:00
Gunnar Beutner
ed1dd36f09
Properly escape strings in ApiUserCommand::Run
2018-02-23 13:07:56 +01:00
Jean Flach
aad44dfbb2
Improve api user command
...
--oneline can now be used to print out only the password hash string.
This can be used to update ApiUser passwords through the API. There is
also now a validation to make use salt does not contain a '$' which
would break verification.
2018-02-23 13:07:56 +01:00
Jean Flach
6387f5442e
Move new password functions into tlsutility
2018-02-23 13:06:22 +01:00
Jean Flach
6504606e23
Hash API password and comparison
...
fixes #4920
2018-02-23 11:23:19 +01:00
Michael Friedrich
260c6d7438
Node setup: ticket parameter is now optional
...
refs #5681
2017-11-03 14:10:45 +01:00
Michael
86cdc5bc53
Include default global zones during node wizard/setup
...
This changes the GenerateNodeMasterIcingaConfig and GenerateNodeIcingaConfig
functions inside the nodeutillity class to the effect, that the default global
zones global-templates and director-global will be written to the generated
zones.conf that is created during the node wizard/setup.
refs #5707
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-31 12:07:12 +01:00
Gunnar Beutner
f2d437e96c
Implement support for migrating certificates to /var/lib/icinga2/certs
...
This commit includes documentation too.
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-20 14:06:02 +02:00
Michael Friedrich
9d68ae9f1f
Merge pull request #5602 from Icinga/fix/config-validation-fails-on-windows-with-unprivileged-account-5515
...
Add windows process elevation and log message if user does not have privileges to read/write files
2017-10-13 16:31:12 +02:00
Michael Friedrich
a521f49803
Fix debug builds on Apple Clang 9.0.0 (macOS High Sierra)
2017-10-02 13:49:42 +02:00
Michael Friedrich
11c41cd747
Drop unused code from NodeUtility class
...
refs #4799
2017-09-22 14:05:08 +02:00
Michael Friedrich
601c10b997
Remove bottom-up CLI commands
...
refs #4799
2017-09-22 14:04:43 +02:00
Noah Hilverling
aab50f669c
Add process elevation & log message if user does not have enough privileges
...
refs #5515
2017-09-22 10:25:17 +02:00
Gunnar Beutner
80421e4619
Build fix for OpenSSL < 1.0.2
...
refs #5450
2017-09-12 13:09:16 +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
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
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
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
439251532e
Implement support for saving client tickets
...
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
Gunnar Beutner
4d943c7f5c
Implement additional functions for printing values with LLDB/GDB
2017-08-10 08:26:22 +02:00
Michael I
3e54e34147
Update featurelistcommand.cpp
...
refs #5431
2017-07-25 13:35:20 +02:00
mcktr
53908b7080
Fixed missing closing bracket in CLI command pki new-cert.
2017-06-18 15:13:16 +02:00
Gunnar Beutner
d05b7c4178
Allow expressions for the type in object/template declarations
2017-05-11 14:21:30 +02:00
Gunnar Beutner
4134f7fe42
Make sure modified attributes are applied before calling the objects' Start method
...
refs #4696
2017-05-03 12:02:19 +02:00
Benedikt Heine
9337135249
Give only CLI warnings if feature is already disabled
...
refs #121
refs #4909
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-02 14:17:47 +01:00
Michael Friedrich
763fb64fff
Update issue tracker to GitHub
...
fixes #4923
2017-01-17 16:50:22 +01:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
c036bfaa94
Fix wrong help string in node setup CLI command
...
fixes #13419
2016-12-06 11:22:24 +01:00
Michael Friedrich
dc2992443f
Deprecate the client 'bottom up' mode w/ node update-config
...
This includes deprecation warnings and migration documentation.
fixes #13255
2016-11-23 15:33:28 +01:00
Konstantin Kelemen
a2a6ee82d7
Fix some spelling mistakes
...
fixes #12822
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-09-29 08:27:38 +02:00
Gunnar Beutner
fa1fa23c55
Fix crash in NodeUtility::CollectNodes
...
fixes #12741
2016-09-19 06:34:37 +02:00
Gunnar Beutner
a2e70955e1
Fix command line parser for "icinga2 --version"
...
fixes #12632
2016-09-04 17:01:46 +02:00
Gunnar Beutner
5304b08c2d
Improve error handling for invalid CLI commands
...
fixes #12596
2016-09-01 07:41:23 +02:00
Gunnar Beutner
06cb3cf875
Another build fix for Windows
...
refs #9182
2016-08-31 13:43:50 +02:00
Gunnar Beutner
68dceaab06
Replace boost::exception_ptr with std::exception_ptr
...
refs #9182
2016-08-30 20:46:23 +02:00