this above is not sascha that created topic.
i checked my pem file, it starts with private rsa keys and after that sertificate, so, it is ok, hiawatha - k = ok, netstat tpln shows hiawatha 443 port, when i type website in chrome, it says no connection. it is not working but in terminal, all is ok.
GENERAL SETTINGS
#
ServerId = www-data
ConnectionsTotal = 1000
ConnectionsPerIP = 25
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log
# BINDING SETTINGS
# A binding is where a client can connect to.
#
#Binding {
# Port = 80
#}
#
Binding {
Port = 443
# TLScertFile = /etc/ssl/private/privmat.net.key
TLScertFile = privmat.net.pem
# RequireTLS = yes
Interface = 127.0.0.1
MaxRequestSize = 2048
# TimeForRequest = 30
TimeForRequest = 5, 30
}
#BANNING SETTINGS
# Deny service to clients who misbehave.
#
BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes
BanOnSQLi = 60
BanOnFlooding = 10/1:15
# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications.
#
CGIhandler = /usr/bin/perl:pl
CGIhandler = /usr/bin/php-cgi:php
CGIhandler = /usr/bin/python:py
CGIhandler = /usr/bin/ruby:rb
CGIhandler = /usr/bin/ssi-cgi:shtml
CGIextension = cgi
#
FastCGIserver {
FastCGIid = PHP7
ConnectTo = /run/php/php7.0-fpm.sock
Extension = php
}
# VIRTUAL HOSTS
# Use a VirtualHost section for each website you want to host.
#
VirtualHost {
Hostname = privmat.net;
WebsiteRoot = /var/www/hiawatha/privmat
StartFile = index.html
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
#}
#VirtualHost {
Hostname = ospok.privmat.net;
WebsiteRoot = /v, ar/www/hiawatha/ospok
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
RequireTLS = yes
StartFile = index.php
ExecuteCGI = yes
TimeForCGI = 5
UseFastCGI = PHP7
PreventCSRF = yes
PreventXSS = yes
PreventSQLi= yes
# UseToolkit = banshee
# UseDirectory = static, files
#}
#VirtualHost {
Hostname = predicsasa.com;
WebsiteRoot = /var/www/hiawatha/aboutme
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
StartFile = index.html
#}
#VirtualHost {
Hostname = blog.predicsasa.com;
WebsiteRoot = /var/www/hiawatha/newblog
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
StartFile = index.php
ExecuteCGI = yes
TimeForCGI = 5
UseFastCGI = PHP7
PreventCSRF = yes
PreventXSS = yes
PreventSQLi = yes
#}
#VirtualHost {
Hostname = oldblog.predicsasa.com;
WebsiteRoot = /var/www/hiawatha/oldblog
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
StartFile = index.php
ExecuteCGI = yes
TimeForCGI = 5
UseFastCGI = PHP7
PreventCSRF = yes
PreventXSS = yes
PreventSQLi = yes
#}
#VirtualHost {
Hostname = photo.predicsasa.com;
WebsiteRoot = /var/www/hiawatha/photo
StartFile = index.html
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
#}
#VirtualHost {
Hostname = mylife.predicsasa.com;
WebsiteRoot = /var/www/hiawatha/mylife
StartFile = index.html
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
#}
#}
#VirtualHost {
Hostname = porodin.predicsasa.com;
WebsiteRoot = /var/www/hiawatha/porodin
StartFile = index.html
AccessLogFile = /var/log/hiawatha/access.log
ErrorLogFile = /var/log/hiawatha/error.log
RequireTLS = yes
}