When using SSL i get this error "ERR_TOO_MANY_REDIRECTS"

i created a PAM file that contains the Key , crt , intermidiate

but when i want to use the SSL cert i get " ERR_TOO_MANY_REDIRECTS" on the browser

this is my configuration :

timeout server          1m
timeout http-keep-alive 10s
timeout check           10s
maxconn                 3000

#---------------------------------------------------------------------

Web admin stats

#---------------------------------------------------------------------
frontend stats
bind *:8404
stats enable
stats uri /stats
stats refresh 10s
stats auth admin:“XXXXX”
stats hide-version

#---------------------------------------------------------------------

Frontend_Here You enter all the Front Ends

#---------------------------------------------------------------------
frontend frontend_XXXX.com
bind *:80
bind *:443 ssl crt /etc/ssl/XXXX/XXXX.pem
acl ACL_XXX hdr(host) -i XXX.com
use_backend backend_XXX if ACL_XXX


Backend_XXX

#---------------------------------------------------------------------

backend backend_XXX

option httpchk GET /status HTTP/1.1

balance leastconn
option httpchk
http-check expect status 200
option forwardfor
option redispatch
option log-health-checks
default-server inter 5s fall 3 rise 5
http-check expect rstatus (2|3)[0-9][0-9]
http-request set-header X-Forwarded-Port %[dst_port]

cookie SERVERUSED indirect nocache insert

server iis1 192.168.11.85:80 maxconn 10000 check cookie iis1