Re: [openssl-users] Proper syntax for -header host switch

2018-05-25 Thread Jordan Brown
On 5/25/2018 4:30 AM, Michael Wojcik wrote: >> On 5/24/2018 11:44 AM, Ben Wilson wrote: >>> -header "Host" "ocsp.example.com" >>> -header 'Host' 'ocsp.example.com' >>> -header Host ocsp.example.com >> I don't know anything about the option, but I do know shell syntax. Those >> three variants are

Re: [openssl-users] Proper syntax for -header host switch

2018-05-25 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of > Jordan Brown > Sent: Thursday, May 24, 2018 23:08 > Subject: Re: [openssl-users] Proper syntax for -header host switch > On 5/24/2018 11:44 AM, Ben Wilson wrote: > > -header "Host"

Re: [openssl-users] Proper syntax for -header host switch

2018-05-24 Thread Jordan Brown
On 5/24/2018 11:44 AM, Ben Wilson wrote: > -header "Host" "ocsp.example.com" > -header 'Host' 'ocsp.example.com' > -header Host ocsp.example.com I don't know anything about the option, but I do know shell syntax.  Those three variants are identical when presented to the shell. Quotes are only

Re: [openssl-users] Proper syntax for -header host switch

2018-05-24 Thread Salz, Rich via openssl-users
>In 1.1.0 and later it is documented: And in 1.0.2 it was documented in January, 2017. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] Proper syntax for -header host switch

2018-05-24 Thread Viktor Dukhovni
> On May 24, 2018, at 3:21 PM, Salz, Rich via openssl-users > wrote: > > In 1.1.0 and later, the flag takes a single parameter in name=value. Yes > that’s strange, but it means that in the common case you don’t need to do any > quoting: > -header

Re: [openssl-users] Proper syntax for -header host switch

2018-05-24 Thread Salz, Rich via openssl-users
In 1.1.0 and later, the flag takes a single parameter in name=value. Yes that’s strange, but it means that in the common case you don’t need to do any quoting: -header Host=ocsp.example.com In 1.0.2 it takes two parameters -header Host ocsp.example.com --

[openssl-users] Proper syntax for -header host switch

2018-05-24 Thread Ben Wilson
All, Does anyone know what the proper syntax is for the undocumented -header host switch? I'm getting some different responses/behaviors when I try these: -header "Host" "ocsp.example.com" -header 'Host' 'ocsp.example.com' -header Host ocsp.example.com Thanks, Ben