Server Certificate Common Name

Hello Guys!

I would just like to now if it is possible to define a ACL by the CN of the Backend Server.
So if a Client connects to my proxy, everything is fine and the connection will come to the backend. But there I want to proof if the CN of the Server’s Cert is in a list.
ssl_c_i_dn(CN) - this fetch method is the right thing i need, but unfortunately for the cert of the client…

I hope u can help me!

Peace.