RE: bad characters encoded on ssl logs coming from x509 cert

2010-04-29 Thread Luis Neves
, Luis Date: Wed, 28 Apr 2010 14:45:10 +0200 From: st...@openssl.org To: openssl-users@openssl.org Subject: Re: bad characters encoded on ssl logs coming from x509 cert On Wed, Apr 28, 2010, Phillip Hellewell wrote: On Tue, Apr 27, 2010 at 5:29 PM, Luis Neves luisne...@hotmail.com wrote

Re: bad characters encoded on ssl logs coming from x509 cert

2010-04-29 Thread Dr. Stephen Henson
On Thu, Apr 29, 2010, Luis Neves wrote: Please Steve, Can you give me any clue on were can I fix this '\x' translation? Should I post on Apache lists instead?. is openssl/mod_ssl utf8 aware? Im frustated! It's Apache that is making the calls to deprecated functions so you should

RE: bad characters encoded on ssl logs coming from x509 cert

2010-04-29 Thread Luis Neves
Tank you Steve. so I will try that list. Strange this basic thing and no one fixing this so far Luis Date: Thu, 29 Apr 2010 13:20:59 +0200 From: st...@openssl.org To: openssl-users@openssl.org Subject: Re: bad characters encoded on ssl logs coming from x509 cert On Thu, Apr 29, 2010

Re: bad characters encoded on ssl logs coming from x509 cert

2010-04-28 Thread Phillip Hellewell
On Tue, Apr 27, 2010 at 5:29 PM, Luis Neves luisne...@hotmail.com wrote: As I think they are in DER format so I use openssl x509 -inform DER -in xx.cer -noout -text I was able to get it to output the characters correctly by adding -nameopt multiline,utf8,-esc_msb to the command-line. It

Re: bad characters encoded on ssl logs coming from x509 cert

2010-04-28 Thread Phillip Hellewell
On Wed, Apr 28, 2010 at 12:39 AM, Phillip Hellewell ssh...@gmail.com wrote: On Tue, Apr 27, 2010 at 5:29 PM, Luis Neves luisne...@hotmail.com wrote: As I think they are in DER format so I use openssl x509 -inform DER -in xx.cer -noout -text I was able to get it to output the characters

RE: bad characters encoded on ssl logs coming from x509 cert

2010-04-28 Thread Luis Neves
Very interesting! How/where can I use this information to control what mod_ssl is sending to mod_authz_ldap? To avoid sending '\x' to the ldap queries Luis From: ssh...@gmail.com Date: Wed, 28 Apr 2010 01:00:59 -0600 Subject: Re: bad characters encoded on ssl logs coming from x509 cert

Re: bad characters encoded on ssl logs coming from x509 cert

2010-04-28 Thread Dr. Stephen Henson
On Wed, Apr 28, 2010, Phillip Hellewell wrote: On Tue, Apr 27, 2010 at 5:29 PM, Luis Neves luisne...@hotmail.com wrote: As I think they are in DER format so I use openssl x509 -inform DER -in xx.cer -noout -text I was able to get it to output the characters correctly by adding

Re: bad characters encoded on ssl logs coming from x509 cert

2010-04-28 Thread Phillip Hellewell
On Wed, Apr 28, 2010 at 6:45 AM, Dr. Stephen Henson st...@openssl.org wrote: On Wed, Apr 28, 2010, Phillip Hellewell wrote: It makes me wonder though why isn't UTF-8 the default output on a Linux system with LANG set to en_US.UTF-8? Backwards compatibility reasons mainly. We have to be very

RE: bad characters encoded on ssl logs coming from x509 cert

2010-04-28 Thread Luis Neves
to read the certificates and convert the UTF8 in there to '\x' Date: Wed, 28 Apr 2010 14:45:10 +0200 From: st...@openssl.org To: openssl-users@openssl.org Subject: Re: bad characters encoded on ssl logs coming from x509 cert On Wed, Apr 28, 2010, Phillip Hellewell wrote: On Tue, Apr 27

bad characters encoded on ssl logs coming from x509 cert

2010-04-27 Thread Luisç Nevesã
Hi to all, I have this data on ssl_error_log, coming from a client certificate [Fri Apr 23 14:13:26 2010] [debug] ssl_engine_kernel.c(1219): Certificate Verification: depth: 2, subject: /CN=Cart\\xC3\\xA3o de Cidad\\xC3\\xA3o 001/OU=ECEstado/O=SC EE - Sistema de Certifica\\xC3\\xA7\\xC3\\xA3o

Re: bad characters encoded on ssl logs coming from x509 cert

2010-04-27 Thread Dr. Stephen Henson
On Tue, Apr 27, 2010, Luis Neves wrote: Hi to all, I have this data on ssl_error_log, coming from a client certificate [Fri Apr 23 14:13:26 2010] [debug] ssl_engine_kernel.c(1219): Certificate Verification: depth: 2, subject: /CN=Cart\\xC3\\xA3o de Cidad\\xC3\\xA3o 001/OU=ECEstado/O=SC

RE: bad characters encoded on ssl logs coming from x509 cert

2010-04-27 Thread Luis Neves
?? Can you kindly make the same test and see what you get? Thankyou Luis Date: Tue, 27 Apr 2010 12:30:07 +0200 From: st...@openssl.org To: openssl-users@openssl.org Subject: Re: bad characters encoded on ssl logs coming from x509 cert On Tue, Apr 27, 2010, Luis Neves wrote: Hi to all