Project

General

Profile

Bug #19083

Do not require root access to install server CA certificate

Added by Lukas Zapletal over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Documentation
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Currently, three commands are required to get started with Foreman CLI:

$ hammer --fetch-ca-cert https://sat.example.com > sat.example.com.crt
$ install sat.example.com.crt /etc/pki/ca-trust/source/anchors/
$ update-ca-trust

Please provide steps to install the certificate into user directory or any other location which is non-root. This current method can be still described as alternative option for those who prefer system-wide CA cert. This is documentation only bug report.


Subtasks

Associated revisions

Revision 849df823 (diff)
Added by Martin Bacovsky about 3 years ago

Fixes #19083 - Install server CA cert without root access

--fetch-ca-cert stores the cert into ~/.hammer/certs by default.
Hammer also sets the default ssl-ca-path to there. Certificates are
stored in .pem format and the hash-named link required by OpenSSL is
created.

Revision 60dc74e2 (diff)
Added by Martin Bacovsky about 3 years ago

Refs #19083 - Install server CA cert without root access

This patch updates the SSL verification error message according to the
related changes in Hammer core

Revision 6526588e (diff)
Added by Martin Bacovsky about 3 years ago

Refs #19083 - require apipie-bindings >= 0.2.0

Apipie-bindings >= 0.2.0 support ssl_ca_path with rest-client < 1.7.0

Revision 809beca4 (diff)
Added by Dominic Cleal about 3 years ago

Refs #19083 - interpolate variables in translations correctly

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Martin Bacovsky
  • Pull request https://github.com/theforeman/hammer-cli/pull/236 added

#2 Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/296 added

#3 Updated by Tomáš Strachota about 3 years ago

  • Legacy Backlogs Release (now unused) set to 247

#4 Updated by Martin Bacovsky about 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/theforeman/hammer-cli/pull/240 added

#6 Updated by Ivan Necas about 3 years ago

  • Target version set to 1.13.1

Also available in: Atom PDF