User Tools

Site Tools


apache_ssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apache_ssl [2024/02/03 13:29] – created ryasapache_ssl [2024/02/03 13:41] (current) ryas
Line 1: Line 1:
-[[https://www.dmosk.ru/miniinstruktions.php?mini=apache-ssl|Source http link...]]+[[https://www.dmosk.ru/miniinstruktions.php?mini=apache-ssl|Source http link #1...]] 
 +[[https://help.ubuntu.ru/wiki/apache_и_https|Source http link #2...]]
  
 +  * 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"
  
-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
  
-apachectl -M | grep ssl+  * yum install mod_ssl
  
-yum install mod_ssl+  * systemctl restart httpd
  
-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.1706966982.txt.gz · Last modified: 2024/02/03 13:29 by ryas