User Tools

Site Tools


apache_ssl

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apache_ssl [2024/02/03 13:34] 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
- +
-vi conf.d/site.conf+
 <VirtualHost *:443> <VirtualHost *:443>
     SSLEngine on     SSLEngine on
Line 17: Line 17:
 </VirtualHost> </VirtualHost>
  
-apachectl configtest+  * apachectl configtest 
 + 
 +  * apachectl graceful
  
  
apache_ssl.1706967283.txt.gz · Last modified: 2024/02/03 13:34 by ryas