Re: UID in subj args - bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 06, 2023 at 03:04:12PM -0400, Robert Moskowitz wrote:

> Adding
> 
> -preserveDN
> 
> is the only way I have found so far to get UID included.
> 
> My command is:
> 
> openssl ca -config $dir/openssl.cnf\
>      -extensions usr_cert -notext -preserveDN \
>      -in $dir/csr/$clientemail.csr.$format\
>      -out $dir/certs/$clientemail.cert.$format
> 
> I tried adding
> 
> policy = policy_loose
> 
> to the usr_cert extension, but that didn't do anything.

That's not where it goes.  The "policy" section name is set in the
"CA_default" section, or can be specified as a command-line option.

If that doesn't work, perhaps another github issue.  I don't have
an active CA configuration just at the moment, nor cycles to play
with one to find the right combination.

You should be able to specify which RDNs from the request to include in
the issued certificate via the named policy section.  If that fails,
post a full reproducer script that creates a CA, a suitable CSR, ...
and then fails to create the expected certificate subject DN.

If you post a complete stand-alone script, that will "demo" the issue on
a bare openssl platform, then we can make progress.

-- 
    Viktor.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux