Ssl and connection informations

Having a configuration with a single HAProxy load balancer frontend and two apache backend servers with a webapp, I need to use https for incoming traffic to the frontend and pass all relevant connection informations (session id, client ip, browser) to the backends. Also, need to have session persistence. I’ve found sticky tables work right for session persistence, I’d need indeed some advice as far as the https is concerned. Using my official ssl certificate seems not to work on frontend, while it works perfectly if backend are directly exposed to clients (that is without using haproxy in the middle). Also, how can I pass to backends all the relevant connection informations as above told?