Welcome! Log In Create A New Profile

Advanced

SSL DN variable unicode handling

Alex Addy
February 13, 2017 10:20AM
While testing the new $ssl_client_s_dn variable (as of 1.11.6) I discovered
that it doesn't handle unicode characters correctly, Say if I had a user
cert with a DN of 'CN=доверенная третья сторона' after going through nginx
it becomes 'CN=\D0\B4\D0\BE\D0\B2\D0\B5\D1\80\D0\B5\D0\BD\D0\BD\D0\B0\D1\8F
\D1\82\D1\80\D0\B5\D1\82\D1\8C\D1\8F
\D1\81\D1\82\D0\BE\D1\80\D0\BE\D0\BD\D0\B0'.
This is not very helpful and unicode support here is the only thing
preventing our project from using nginx. We are currently using httpd as it
handles this case in a more friendly way, but would like to move away from
it.

Is there something I can set to fix this? Is this a bug or is it working as
intended?

Thank you for your time,
-------------
- Alex Addy -
-------------
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SSL DN variable unicode handling

Alex Addy February 13, 2017 10:20AM

Re: SSL DN variable unicode handling

Maxim Dounin February 13, 2017 11:02AM

Re: SSL DN variable unicode handling

Alex Addy February 13, 2017 11:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready