Can't connect to HTTPS frontend

No, it’s not. The output of the two curl calls are totally different.

Enable logging as per (just in tcpmode instead) and provide the output of the haproxy log while you are trying to make a HTTPS request.