Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Check Certificate in Backend possible

$
0
0

@silviu wrote:

Hi everyone,

As i already mentioned in another post, I am using just one front end and more backends.
as for one specific location is a certificate check necessary, i would like to check in that specific backend and for the specific site.
the apache for this section shows like this :

Location /api
Allow from all
Satisfy any
SSLRequireSSL
SSLVerifyClient require
SSLVerifyDepth 2
SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "Company name" \
and %{SSL_CLIENT_S_DN_OU} eq "department" \
and %{SSL_CLIENT_S_DN_C} eq "US" \
and %{SSL_CLIENT_S_DN_CN} in { "User_1", "host01" } \
)
ProxyPass 1.1.1.1:8090/api nocanon
ProxyPassReverse 1.1.1.1:8090/api
/Location

Any ideea how I can rewrite from apache to haproxy ?

Thanks and cheers,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles