Commit Graph

3 Commits

Author SHA1 Message Date
Antonio Torres
ef9abe8892
Set correct permissions for certificates generated by bootstrap Makefile
While certificates have correct permissions set if generated through
bootstrap script, they don't if they are generated using "make"
directly. With this change certificate permissions are set to 640 and
ownership to root:radiusd.

Resolves: #2069224
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-04-29 13:04:53 +02:00
Antonio Torres
9ac9146445
bootstrap: pass -noenc to cert generation on script as well
Commit cb13e66776 added this change to
certificate Makefile, change it on base script as well for consistency.

Resolves: #2069224
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-04-25 18:25:16 +02:00
Antonio Torres
cb13e66776
bootstrap: pass -noenc to certificate generation
Bootstrap script would fail to generate certificates if run on systems
with FIPS enabled. By passing the -noenc option, we can skip the usage
of unsupported algorithms on these systems.

Related: rhbz#2069224
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-04-22 13:01:55 +02:00