apache_ssl
This is an old revision of the document!
- openssl req -new -x509 -days 1461 -nodes -out cert.pem -keyout cert.key -subj “/C=RU/ST=SPb/L=SPb/O=Global Security/OU=IT Department/CN=test.dmosk.local/CN=test”
- apachectl -M | grep ssl
- yum install mod_ssl
- systemctl restart httpd
- vi conf.d/site.conf
<VirtualHost *:443>
SSLEngine on SSLCertificateFile ssl/cert.pem SSLCertificateKeyFile ssl/cert.key
</VirtualHost>
- apachectl configtest
- apachectl graceful
apache_ssl.1706967459.txt.gz · Last modified: 2024/02/03 13:37 by ryas