#5439 [RFE] Add option to ipa user-add-cert to read certificate from file
Opened 3 years ago by tscherf. Modified 2 years ago

At the moment one needs to paste a certificate blob to the tool:

ipa user-add-cert --certificate <cert blob="">

I would rather prefer something like like:

ipa user-add-cert --certificate-file user.crt


The same of course also goes for "ipa host-add-cert".

user_cert=cat user.crt

ipa user-add-cert --certificate=$user_cert

This definitely works, but having a file option to point to a certificate to import seems easier to use.

I recommend we add the option to `ipa user-remove-cert' at the same time.

Metadata Update from @tscherf:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

2 years ago

Login to comment on this ticket.

Metadata