On Monday, 14 March 2022 11.04.56 WET Simo Sorce wrote:

> Have you tried setting crypto policies to LEGACY in case the server is

> old and supports only bad cryptography?

>

> Simo.


How do I do that?


Running update-crypto-policies always returns an error saying that the argument is not recognised:


[root@griffin ~]# update-crypto-policies –-set LEGACY

usage: update-crypto-policies.py [-h] [--set [POLICY] | --show | --is-applied | --check] [--no-reload]

update-crypto-policies.py: error: unrecognized arguments: –-set LEGACY

[root@griffin ~]# update-crypto-policies –-show

usage: update-crypto-policies.py [-h] [--set [POLICY] | --show | --is-applied | --check] [--no-reload]

update-crypto-policies.py: error: unrecognized arguments: –-show

[root@griffin ~]# update-crypto-policies –-check

usage: update-crypto-policies.py [-h] [--set [POLICY] | --show | --is-applied | --check] [--no-reload]

update-crypto-policies.py: error: unrecognized arguments: –-check


What am I missing?


Regards,

--

José Abílio