Skip to content
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 #12433] Add API action for generating a PKI ticket #4485

Closed
icinga-migration opened this issue Aug 14, 2016 · 8 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Aug 14, 2016

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12433

Created by mfriedrich on 2016-08-14 19:18:18 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2016-08-15 13:22:14 +00:00)
Target Version: 2.5.0
Last Update: 2016-08-22 12:03:20 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

That would obsolete those workarounds found in Director and external SOAP scripts.

Changesets

2016-08-15 13:19:28 +00:00 by mfriedrich d341783

API: Implement 'generate-ticket' action and update distributed monitoring docs

fixes #12433

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by mfriedrich on 2016-08-15 12:00:49 +00:00

michi@mbmif ~/coding/icinga/icinga2 (feature/api-pki-12433) $ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST 'https://localhost:5665/v1/actions/generate-ticket' -d '{ "cn": "mbmif.int.netways.de" }'
{"results":[{"code":200.0,"status":"Generated PKI ticket for common name 'mbmif.int.netways.de'.","ticket":"94ab6c9a77c40c26f817c4e2530547379290723a"}]}

michi@mbmif ~/coding/icinga/icinga2 (feature/api-pki-12433) $ sudo icinga2 pki ticket --cn mbmif.int.netways.de
94ab6c9a77c40c26f817c4e2530547379290723a
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by mfriedrich on 2016-08-15 13:21:21 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Target Version set to 2.5.0

It is fairly simple and helps with the rewritten cluster and client documentation.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by mfriedrich on 2016-08-15 13:21:34 +00:00

  • Relates set to 12386
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by mfriedrich on 2016-08-15 13:22:14 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset d341783.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by plarivee on 2016-08-15 13:27:26 +00:00

awesome!

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by mfriedrich on 2016-08-15 13:28:27 +00:00

  • Relates set to 12439
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2016

Updated by mfriedrich on 2016-08-15 13:31:47 +00:00

  • Relates set to 12440
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 22, 2016

Updated by gbeutner on 2016-08-22 12:03:20 +00:00

  • Subject changed from Add API action for generating a pki ticket to Add API action for generating a PKI ticket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.