Project

General

Profile

Actions

Feature #18930

open

Document how to setup Hammer to auth with client cert

Added by Martin Bacovsky over 7 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:
no

Description

I configured foreman to auth user by client cert:

  1. in Settings/Authentication > Authorize Login delegation Yes
  2. in Settings/Authentication > Authorize Login delegation API Yes
  3. in /etc/httpd/conf.d/05-foreman-ssl.conf add SSLUserName SSL_CLIENT_S_DN_CN
  4. restart httpd
  5. create user test
  6. generate the client cert puppet cert --generate test

Then use hammer with (or use the options in config file)

hammer --verify-ssl true --ssl-ca-file ca.pem --ssl-client-cert test.pem --ssl-client-key test.key host list

Also make sure the Apache config change have support in installer


Related issues 2 (0 open2 closed)

Related to Hammer CLI - Feature #12401: Add support for client certificate authentication.ClosedRobert Frank11/05/2015Actions
Related to Hammer CLI - Tracker #24973: Tracker for missing documentationClosed

Actions
Actions

Also available in: Atom PDF