Advertisement
sergio_educacionit

defaul ssl apache2

Jun 11th, 2024
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <VirtualHost *:443>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /var/www/html
  5.  
  6. ErrorLog ${APACHE_LOG_DIR}/error.log
  7. CustomLog ${APACHE_LOG_DIR}/access.log combined
  8.  
  9. SSLEngine on
  10.  
  11. SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
  12. SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
  13.  
  14. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  15. SSLOptions +StdEnvVars
  16. </FilesMatch>
  17. <Directory /usr/lib/cgi-bin>
  18. SSLOptions +StdEnvVars
  19. </Directory>
  20. </VirtualHost>
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement