Haproxy doesnt offer cert without CN name

Hi all,

I have this haproxy config and my certificate without any CN / SAN field .When i try to connect to the port it fails with handshake error.

maxconn 32768
#nbproc 3
nbthread 4
tune.ssl.default-dh-param 2048
log /dev/log local5
stats socket ipv4@ level admin
stats socket /var/run/haproxy.sock mode 666 level admin
stats timeout 2m
ssl-default-bind-ciphers ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:AES256-SHA:AES128-SHA:DHE-RSA-AES128-SHA
ssl-default-bind-options ssl-min-ver TLSv1.0

log global
mode http
option dontlognull
option redispatch
no option http-use-htx

bind-process 1

This opens port 443 and 8443, and redirects it to 84 Proxy

listen ssl

bind tfo ssl crt /usr/local/platform/.security/tomcat/keys/HAProxy_tomcat.pem npn http/1.1 curves P-256:P-384:P-521 prefer-client-ciphers
server http send-proxy-v2

frontend http

bind tfo accept-proxy
acl is_ssl fc_rcvd_proxy
#acl is_ssl ssl_fc
option nolinger
default_backend localserver

backend localserver
server s1