unix 2021-10-27 10-29-47
Как сгенерировать сертификат
############### для ejabberd ##############
openssl req -new -x509 -newkey rsa:2048 -days 3650 -keyout privkey.pem -out server.pem
openssl rsa -in privkey.pem -out privkey.pem
cat privkey.pem >> server.pem
rm privkey.pem
chown ejabberd server.pem
chmod 600 server.pem
############################################