ubuntu@ip-172-31-43-224:~$ tail -20 /var/log/apache2/error.log
[ 2017-09-18 00:03:43.1798 30648/7ff648f73780 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.37', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.37', 'web_server_pid' => '30647', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2017-09-18 00:03:43.1951 30651/7f1f13caa780 agents/HelperAgent/Main.cpp:643 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.30647/generation-0/request
[ 2017-09-18 00:03:43.2176 30659/7f06d8575780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.30647/generation-0/logging
[ 2017-09-18 00:03:43.2178 30648/7ff648f73780 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Mon Sep 18 00:03:43.218159 2017] [ssl:emerg] [pid 30647] AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
[Mon Sep 18 00:03:43.218199 2017] [ssl:emerg] [pid 30647] AH02312: Fatal error initialising mod_ssl, exiting.
[ 2017-09-18 00:03:43.2302 30659/7f06d8575780 agents/LoggingAgent/Main.cpp:289 ]: Caught signal, exiting...
my file:
$ cat /etc/apache2/sites-enabled/000-default.conf
WSGIDaemonProcess www-data
WSGIProcessGroup www-data
WSGIPythonPath /usr/local/lib/python2.7/site-packages
ServerName www.buhcomp.com
DocumentRoot /home/ubuntu/vatic/public
WSGIScriptAlias /server /home/ubuntu/vatic/server.py
CustomLog /var/log/apache2/access.log combined
Options +Indexes +FollowSymLinks +MultiViews +Includes +ExecCGI
AllowOverride all
AddHandler cgi-script .cgi .pl
Order allow,deny
Require all granted
Allow from all
AddType text/html .html
AddOutputFilter INCLUDES .html
DirectoryIndex index.html
DocumentRoot /home/ubuntu/LabelMeAnnotationTool-master
SSLEngine on
SSLOptions +StrictRequire
SSLRequireSSL
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLCertificateFile /etc/apache2/ssl/4757dc1c480db857.crt
SSLCertificateKeyFile /etc/apache2/ssl/buhcomp_com.key
SSLVerifyClient none
SSLProxyEngine off
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
#Options FollowSymLinks
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Allow from all
Options +Indexes +FollowSymLinks +MultiViews +Includes +ExecCGI
AllowOverride all
AddHandler cgi-script .cgi .pl
Order allow,deny
Require all granted
Allow from all
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
DirectoryIndex index.shtml
ERROR:
ubuntu@ip-172-31-43-224:~$ apachectl -S
AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/default-ssl.conf:
SSLCertificateKeyFile: file '/etc/ssl/private/ssl-cert-snakeoil.key' does not exist or is empty
Action '-S' failed.
The Apache error log may have more information.
line 33 of the file:
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key