Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. Bad Request
  2. Your browser sent a request that this server could not understand.
  3. Reason: You're speaking plain HTTP to an SSL-enabled server port.
  4. Instead use the HTTPS scheme to access this URL, please.
  5. Apache/2.4.10 (Raspbian) Server at 192.168.178.70 Port 443
  6.  
  7. <VirtualHost *:443>
  8. SSLEngine on
  9. ServerName 192.168.178.70
  10. SSLCertificateFile /etc/apache2/ssl/apache.crt
  11. SSLCertificateKeyFile /etc/apache2/ssl/apache.key
  12.  
  13. # Path to the website
  14. DocumentRoot /var/www/html
  15. </VirtualHost>
  16.  
  17. Listen 80
  18.  
  19. <IfModule ssl_module>
  20. Listen 443
  21. </IfModule>
  22. <IfModule mod_gnutls.c>
  23. Listen 443
  24. </IfModule>
  25.  
  26. sudo a2enmod ssl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement