Touch rsakeys.ini, because on FIPS enabled systems, xrdp-keygen fails.
This commit is contained in:
parent
f7fa226b26
commit
0e617c2d5a
@ -168,7 +168,7 @@ fi
|
|||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then
|
if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then
|
||||||
(umask 377; %{_bindir}/xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini >/dev/null)
|
(umask 377; %{__touch} %{_sysconfdir}/xrdp/rsakeys.ini; %{_bindir}/xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini &>/dev/null)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -s %{_sysconfdir}/xrdp/cert.pem ]; then
|
if [ ! -s %{_sysconfdir}/xrdp/cert.pem ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user