I have www/obhttpd installed and working perfectly with static files.
I now like to add tls support to this working static site but it fails with the following error message:
I'm runing obhttpd installed from pkg (version obhttpd-6.3.20180803_2) in a jail running 11.2-STABLE.
obhttpd.conf is:
I now like to add tls support to this working static site but it fails with the following error message:
Code:
# obhttpd -d -v
startup
server_tls_init: failed to initialise tls
server_tls_init: failed to initialise tls
server_tls_init: failed to initialise tls
server_tls_init: failed to initialise tls
server_tls_init: failed to initialise tls
server_tls_init: failed to initialise tls
logger exiting, pid 7050
lost child: pid 7047 terminated; signaled 11
server exiting, pid 7049
server exiting, pid 7048
parent terminating, pid 7046
I'm runing obhttpd installed from pkg (version obhttpd-6.3.20180803_2) in a jail running 11.2-STABLE.
obhttpd.conf is:
Code:
chroot "/mnt/www"
server "default" {
listen on "*" port 80
listen on "*" tls port 443
tls {
key "/etc/ssl/private/server.key"
certificate "/etc/ssl/server.cert"
}
root "/htdocs/mysite"
}