-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christian Heimes <[email protected]>
- Loading branch information
Showing
3 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,21 +78,6 @@ Some APIs are provisional and may change in the future. | |
- The script custodia-cli. | ||
- *custodia.ipa* plugins | ||
|
||
Optional components | ||
------------------- | ||
|
||
Custodia has several optional components with additional dependencies | ||
|
||
``gssapi`` | ||
Negotiate / GSSAPI authentication for Custodia client, also known as | ||
Kerberos. | ||
``ipa`` | ||
`freeIPA <https://www.freeipa.org/>`_ server plugins. | ||
|
||
Optional dependencies can be installed with pip:: | ||
|
||
$ pip install custodia[gssapi,ipa] | ||
|
||
-------------- | ||
|
||
custodia.ipa — IPA plugins for Custodia | ||
|
@@ -224,6 +209,21 @@ Create ``/etc/custodia/ipa.conf`` | |
handler = Secrets | ||
store = cert | ||
|
||
Create ``/etc/systemd/system/[email protected]/override.conf`` | ||
|
||
On Fedora 26 and newer, the Custodia service file defaults to Python 3. | ||
Although FreeIPA 4.5 has support for Python 3, it's not stable yet. | ||
Therefore it is necessary to run the ``custodia.ipa`` plugins with | ||
Python 2.7. You can either use ``systemctl edit [email protected]`` | ||
to create an override or copy the file manually. Don't forget to run | ||
``systemctl daemon-reload`` in the latter case. | ||
|
||
:: | ||
|
||
[Service] | ||
ExecStart= | ||
ExecStart=/usr/sbin/custodia-2 --instance=%i /etc/custodia/%i.conf | ||
|
||
Run Custodia server | ||
|
||
:: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters