I have made some changes in openssl.cnf
and wants to restart service. Normally I would just restart machine for changes to take effect but I don't want to restart machine. Tried sudo systemctl restart openssl
but it didn't work as there is no such service.
How to I restart or reload openssl after making changes in configuration?
openssl
is command line tool and library. There is no daemon to restart.On next execution of
openssl
or program which useopenssl
library the config will be read.If it is involved web server you will need to restart it.
You can find all running processes that you might want to restart after an openssl change with:
The command search in the memory maps of each process and look for some of the openssl libs that are used by that command. Then it is displaying the process details for each match.
E.g. for
systemd-journal
process:See also checkrestart.