# Use https servers in backend section

**URL:** <https://discourse.haproxy.org/t/use-https-servers-in-backend-section/5255>\
**Category:** Help!\
**Created:** [May 20, 2020, 11:17am UTC](https://discourse.haproxy.org/t/use-https-servers-in-backend-section/5255 "2020-05-20T11:17:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![poyan94](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@poyan94](https://discourse.haproxy.org/u/poyan94)\
**Post date:** [May 20, 2020, 11:17am UTC](https://discourse.haproxy.org/t/use-https-servers-in-backend-section/5255/1 "2020-05-20T11:17:40Z")

</div>

hi everybody.  
i have a problem in my way, i configure haproxy for load balance my https request through my clients, i add my certificate to frontend section but when i add https sites in backend section it doesn’t work.  
these are my codes:

frontend firstbalance  
bind \*:443 ssl crt /etc/haproxy/pem.pem  
bind \*:80  
option tcplog  
mode http  
default\_backend webservers

backend webservers  
balance roundrobin  
mode http  
server webserver1 x.x.x.x  
server webserver2 x.x.x.x  
i cant add an https site instead x.x.x.x servers.  
anyown can help me?

---

<div class="post-metadata">

**Author:** ![MadEcto](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/madecto/32/1141_2.png) [@MadEcto](https://discourse.haproxy.org/u/MadEcto)\
**Post date:** [May 29, 2020, 7:38am UTC](https://discourse.haproxy.org/t/use-https-servers-in-backend-section/5255/2 "2020-05-29T07:38:48Z")

</div>

Hi,  
I believe you need to change the backend servers as so:

```auto
backend webservers
	balance roundrobin
	mode http
	server webserver1 x.x.x.x:443 ssl verify none
	server webserver2 x.x.x.y:443 ssl verify none

```

This is - of course - supposing you have self-signed certificates on your backend server.  
If, on the contrary, you have valid certs you can swap `verify` with `required` as documented [here](http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#5.1-verify).
