Skip to content

Commit

Permalink
Document 8.4 changes in openssl_csr_new
Browse files Browse the repository at this point in the history
  • Loading branch information
bukka committed Dec 15, 2024
1 parent 3b06ef4 commit b4e5329
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions reference/openssl/functions/openssl-csr-new.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
<term><parameter>distinguished_names</parameter></term>
<listitem>
<para>
The Distinguished Name or subject fields to be used in the certificate.
The Distinguished Name or subject fields to be included in the
certificate. The <parameter>distinguished_names</parameter> is an
associative array where the keys represent the attribute names of
Distinguished Names and the values can either be strings (for single
value) or arrays (if multiple values need to be set).
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -151,10 +155,8 @@
<listitem>
<para>
<parameter>extra_attributes</parameter> is used to specify additional
configuration options for the <acronym>CSR</acronym>. Both
<parameter>distinguished_names</parameter> and
<parameter>extra_attributes</parameter> are associative arrays, whose keys
are converted to OIDs and applied to the relevant part of the request.
attributes for the <acronym>CSR</acronym>. It is an associative arrays
where the keys are converted to OIDs and applied as CSR attributes.
</para>
</listitem>
</varlistentry>
Expand All @@ -181,6 +183,20 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
The <parameter>distinguished_names</parameter> associative array now supports arrays as values,
allowing multiple values to be specified for a single attribute.
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
The <parameter>extra_attributes</parameter> parameter now correctly sets the CSR attributes,
rather than modifying the subject's Distinguished Name as it previously did incorrectly.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down

0 comments on commit b4e5329

Please sign in to comment.