mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-21 18:06:42 +00:00
fixed mariadb permission on Rocky 9
This commit is contained in:
parent
74c2a9f8e2
commit
2398e1b1b0
@ -114,10 +114,10 @@ set_mysql_server_tls () {
|
||||
# The following arent avialble in Mariadb 10.3
|
||||
#echo "tls_version=TLSv1.2,TLSv1.3" >> "$DB_SRV_CONF"
|
||||
#echo "require_secure_transport=ON" >> "$DB_SRV_CONF"
|
||||
|
||||
|
||||
|
||||
# Make sure mysql can access them
|
||||
chown mysql:mysql $SSL_DB_SRV_CHAIN $SSL_DB_SRV_CERT $SSL_DB_SRV_KEY
|
||||
chmod 644 $DB_SRV_CONF $DB_CLIENT_CONF
|
||||
# Make selinux contexts for config files, if selinux is enabled
|
||||
if [[ $ID = "rhel" ]] || [[ $ID = "rocky" ]] ||[[ $ID = "fedora" ]]; then
|
||||
command -v selinuxenabled > /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user