[openssl-users] Cant seem to get prompt no to work

Robert Moskowitz rgm at htt-consult.com
Sun Aug 20 02:56:09 UTC 2017



On 08/19/2017 04:00 AM, Peter Sylvester wrote:
> On 08/18/2017 07:16 PM, Dr. Stephen Henson wrote:
>> On Thu, Aug 17, 2017, Robert Moskowitz wrote:
>>
>>> In the [ ca ] section I have:
>>>
>>> prompt   = no
>>>
>>> If I leave the = out I get an error, so I am assuming I got the
>>> format of this right.
>>>
>>> Then I have
>>>
>>> [ req ]
>>> distinguished_name  = req_distinguished_name
>>>
>>> [ req_distinguished_name ]
>>> countryName                     = $ENV::countryName
>>> stateOrProvinceName             = $ENV::stateOrProvinceName
>>>
>>> In a terminal window I run:
>>>
>>> export countryName=US
>>> export stateOrProvinceName=MI
> What about:
>
> [ req_distinguished_name ]
> countryName                     = "Country Nmae (e.g. FR)"
> countryName_value                     = $ENV::countryName
> stateOrProvinceName             = "State or Province"
> stateOrProvinceName_value             = $ENV::stateOrProvinceName
>
>   
>
And what happens when you have

stateOrProvinceName=

the length of stateOrProvinceName_value is zero.

When stateOrProvinceName was length zero, I got the error.

Bob



More information about the openssl-users mailing list