Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-29 Thread Mick
On Thursday 29 Dec 2011 10:03:01 Mick wrote: > On Thursday 29 Dec 2011 04:46:26 you wrote: > > PUT such comments. You can avoid editing a copy by: > > awk '/-BEGIN/,/-END/' filewithextra | openssl asn1parse > > > > on any *nix, and on Windows if you add an awk port. > > Just tried this and all

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-29 Thread Mick
On Thursday 29 Dec 2011 04:46:26 you wrote: > > From: owner-openssl-us...@openssl.org On Behalf Of Mick > > Sent: Monday, 26 December, 2011 14:01 > > > > > I seem to have overcome the original problem. Now both the > > cacert and signed > > client certificates are formatted in the same way. I

RE: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-28 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Mick > Sent: Monday, 26 December, 2011 14:01 > I seem to have overcome the original problem. Now both the > cacert and signed > client certificates are formatted in the same way. I used -policy > policy_anything to avoid complaints from o

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-26 Thread Mick
On Friday 16 Dec 2011 18:31:01 you wrote: > Le 16/12/2011 18:45, Mick a écrit : > > Since I cannot change the router firmware, what should I change the > > 'string_mask = ' on the PC to agree with the router? > > My understanding is that string_mask is used when producing an object > (request or

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-18 Thread Mick
On Monday 19 Dec 2011 06:45:13 Mick wrote: > On Sunday 18 Dec 2011 18:10:55 Mick wrote: > > On Friday 16 Dec 2011 18:31:01 you wrote: > > > Le 16/12/2011 18:45, Mick a écrit : > > > [...] > > > > > > > Since I cannot change the router firmware, what should I change the > > > > 'string_mask = ' on

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-18 Thread Mick
On Sunday 18 Dec 2011 18:10:55 Mick wrote: > On Friday 16 Dec 2011 18:31:01 you wrote: > > Le 16/12/2011 18:45, Mick a écrit : > > [...] > > > > > Since I cannot change the router firmware, what should I change the > > > 'string_mask = ' on the PC to agree with the router? > > > > My understandi

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-18 Thread Mick
On Friday 16 Dec 2011 18:31:01 you wrote: > Le 16/12/2011 18:45, Mick a écrit : > [...] > > Since I cannot change the router firmware, what should I change the > > 'string_mask = ' on the PC to agree with the router? > > My understanding is that string_mask is used when producing an object > (re

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Lou Picciano
Bohm" Sent: Friday, December 16, 2011 1:04:49 PM Subject: Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR Le 16/12/2011 18:27, Jakob Bohm a écrit : > On 12/16/2011 6:14 PM, Erwann Abalea wrote: >> Le 16/12/2011 17:57, Mick a écrit : >>> On Fri

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
Le 16/12/2011 19:07, Jakob Bohm a écrit : On 12/16/2011 6:47 PM, Erwann Abalea wrote: Le 16/12/2011 16:29, Jakob Bohm a écrit : On 12/16/2011 3:22 PM, Erwann Abalea wrote: NameConstraints is a set of constraints imposed on the semantic value of the name elements, not on their encoding (string

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
Le 16/12/2011 18:45, Mick a écrit : [...] Indeed, the message was rather esoteric and it did not offer a way out - e.g. it could have advised to change "match" to "supplied" in openssl.cnf, or to ensure that the encoding between the CSR and ca is the same. I think what confused me is that by upl

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Jakob Bohm
On 12/16/2011 6:47 PM, Erwann Abalea wrote: Le 16/12/2011 16:29, Jakob Bohm a écrit : On 12/16/2011 3:22 PM, Erwann Abalea wrote: Le 16/12/2011 15:07, Jakob Bohm a écrit : I think we may have a bug here, anyone from the core team wish to comment on this. The apparent bug: When enforcing the

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
Le 16/12/2011 18:27, Jakob Bohm a écrit : On 12/16/2011 6:14 PM, Erwann Abalea wrote: Le 16/12/2011 17:57, Mick a écrit : On Friday 16 Dec 2011 16:23:52 you wrote: man req Then look for the "-utf8" argument. I took your example below, added "-utf8" argument, and it worked. You can display the

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Lou Picciano
8 command. Lou Picciano - Original Message - From: "Jakob Bohm" To: openssl-users@openssl.org Sent: Friday, December 16, 2011 12:27:42 PM Subject: Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR On 12/16/2011 6:14 PM, Erwann Abalea wrote: > Le 1

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
Le 16/12/2011 16:29, Jakob Bohm a écrit : On 12/16/2011 3:22 PM, Erwann Abalea wrote: Le 16/12/2011 15:07, Jakob Bohm a écrit : I think we may have a bug here, anyone from the core team wish to comment on this. The apparent bug: When enforcing the "match" policy for a DN part, openssl reports

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Mick
On Friday 16 Dec 2011 17:27:42 you wrote: > On 12/16/2011 6:14 PM, Erwann Abalea wrote: > > Le 16/12/2011 17:57, Mick a écrit : > >> On Friday 16 Dec 2011 16:23:52 you wrote: > >>> man req > >>> Then look for the "-utf8" argument. > >>> > >>> I took your example below, added "-utf8" argument, and

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Jakob Bohm
On 12/16/2011 6:14 PM, Erwann Abalea wrote: Le 16/12/2011 17:57, Mick a écrit : On Friday 16 Dec 2011 16:23:52 you wrote: man req Then look for the "-utf8" argument. I took your example below, added "-utf8" argument, and it worked. You can display the content with "openssl req -text -noout -in

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
Le 16/12/2011 17:57, Mick a écrit : On Friday 16 Dec 2011 16:23:52 you wrote: man req Then look for the "-utf8" argument. I took your example below, added "-utf8" argument, and it worked. You can display the content with "openssl req -text -noout -in blabla.pem -nameopt multiline,utf8,-esc_msb"

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Mick
On Friday 16 Dec 2011 16:23:52 you wrote: > man req > Then look for the "-utf8" argument. > > I took your example below, added "-utf8" argument, and it worked. > You can display the content with "openssl req -text -noout -in > blabla.pem -nameopt multiline,utf8,-esc_msb" Would using -utf8 resolve

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
man req Then look for the "-utf8" argument. I took your example below, added "-utf8" argument, and it worked. You can display the content with "openssl req -text -noout -in blabla.pem -nameopt multiline,utf8,-esc_msb" Le 16/12/2011 16:33, Lou Picciano a écrit : openssl req -new -sha1 -nodes

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Jakob Bohm
On 12/16/2011 3:22 PM, Erwann Abalea wrote: Le 16/12/2011 15:07, Jakob Bohm a écrit : I think we may have a bug here, anyone from the core team wish to comment on this. The apparent bug: When enforcing the "match" policy for a DN part, openssl reports an error if the CSR has used a different s

Re: [openssl-users] Re: stateOrProvinceName field problem when signing CSR

2011-12-16 Thread Erwann Abalea
Le 16/12/2011 15:07, Jakob Bohm a écrit : I think we may have a bug here, anyone from the core team wish to comment on this. The apparent bug: When enforcing the "match" policy for a DN part, openssl reports an error if the CSR has used a different string type for the field, but the correct val