Skip to content

[ifw-api] PS daemon: pick up new certificate once changed by Icinga #632

@Al2Klimov

Description

@Al2Klimov

Current Behavior

(At least if you're not using tickets to sign Icinga cluster nodes,) Icinga will run with a self signed certificate until I do icinga2 ca sign .... Your PS daemon (having no choice) picks up the initial self signed certificate and runs with that until restarted. But its API clients such as

Will require an actually Icinga CA signed certificate and complain/fail.

Expected Behavior

The PS daemon stat(2)s the certificate file either periodically or on hint from ReadDirectoryChangesW(). Changed? Reload!

Possible Solution

At least consider a KB entry in the upcoming version.

Steps to Reproduce (for bugs)

  1. Install IfW as usual
  2. Use no ticket
  3. Never restart the PS daemon
  4. Query IfW API

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions