# How to set ssl verify client for specific domain name

**URL:** <https://discourse.haproxy.org/t/how-to-set-ssl-verify-client-for-specific-domain-name/1489>\
**Category:** Help!\
**Created:** [August 4, 2017, 7:03am UTC](https://discourse.haproxy.org/t/how-to-set-ssl-verify-client-for-specific-domain-name/1489 "2017-08-04T07:03:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![winster](https://avatars.discourse-cdn.com/v4/letter/w/91b2a8/32.png) [@winster](https://discourse.haproxy.org/u/winster)\
**Post date:** [August 17, 2020, 11:23am UTC](https://discourse.haproxy.org/t/how-to-set-ssl-verify-client-for-specific-domain-name/1489/10 "2020-08-17T11:23:51Z")

</div>

I was trying something very similar but path based ssl handshake. So far what I read is it is not possible with HAProxy. In this example, we have to use tcp mode. But in order to check the path, we need http mode.

```auto
    frontend https-switch
        bind *:8888
        tcp-request inspect-delay 5s
        tcp-request content accept if { req_ssl_hello_type 1 }
        acl auth_request path_end -i /auth # this will always return false
        use_backend recir_clientcertenabled if auth_request
        default_backend recir_default

```

---

_[View the full topic](https://discourse.haproxy.org/t/how-to-set-ssl-verify-client-for-specific-domain-name/1489)._
