mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
parent
10b8c00d7a
commit
f6b267b843
@ -31,12 +31,15 @@ The `NodeName` constant must be defined in [constants.conf](04-configuring-icing
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
object ApiListener "api" {
|
```
|
||||||
cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
|
object ApiListener "api" {
|
||||||
key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
|
cert_path = LocalStateDir + "/lib/icinga2/certs/" + NodeName + ".crt"
|
||||||
ca_path = SysconfDir + "/icinga2/pki/ca.crt"
|
key_path = LocalStateDir + "/lib/icinga2/certs/" + NodeName + ".key"
|
||||||
}
|
ca_path = LocalStateDir + "/lib/icinga2/certs/ca.crt"
|
||||||
|
|
||||||
|
ticket_salt = TicketSalt
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Configuration Attributes:
|
Configuration Attributes:
|
||||||
|
|
||||||
@ -45,6 +48,7 @@ Configuration Attributes:
|
|||||||
cert\_path |**Required.** Path to the public key.
|
cert\_path |**Required.** Path to the public key.
|
||||||
key\_path |**Required.** Path to the private key.
|
key\_path |**Required.** Path to the private key.
|
||||||
ca\_path |**Required.** Path to the CA certificate file.
|
ca\_path |**Required.** Path to the CA certificate file.
|
||||||
|
ticket\_salt |**Optional.** Private key for auto-signing. **Required** for a signing master instance. Defaults to the `TicketSalt` constant defined in [constants.conf](04-configuring-icinga-2.md#constants-conf).
|
||||||
crl\_path |**Optional.** Path to the CRL file.
|
crl\_path |**Optional.** Path to the CRL file.
|
||||||
bind\_host |**Optional.** The IP address the api listener should be bound to. Defaults to `0.0.0.0`.
|
bind\_host |**Optional.** The IP address the api listener should be bound to. Defaults to `0.0.0.0`.
|
||||||
bind\_port |**Optional.** The port the api listener should be bound to. Defaults to `5665`.
|
bind\_port |**Optional.** The port the api listener should be bound to. Defaults to `5665`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user