Actions
Feature #18930
openDocument how to setup Hammer to auth with client cert
Status:
New
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Description
I configured foreman to auth user by client cert:
- in Settings/Authentication > Authorize Login delegation Yes
- in Settings/Authentication > Authorize Login delegation API Yes
- in /etc/httpd/conf.d/05-foreman-ssl.conf add SSLUserName SSL_CLIENT_S_DN_CN
- restart httpd
- create user test
- 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
Actions