emqx / emqx-auth-http

EMQX HTTP Authentication/ACL Plugin
https://emqx.io/
Apache License 2.0
43 stars 47 forks source link

TLS subject is always 'undefined' #247

Closed zhang250515 closed 3 years ago

zhang250515 commented 3 years ago

The common name of client TLS cert and subject of client TLS cert are always undefined.

emqx broker version:v4.0.0 params config in emqx_auth_http : auth.http.auth_req.params = clientId=%c,userName=%u,userKey=%P,tlsDomain=%C,tlsSubject=%d

And the root TLS cert and client TLS cert are both self signed.

zhang250515 commented 3 years ago

Upgrad to 4.2.6 and then enable tow-way vertify. sloved in slack.