Skip to content

Commit b4e5329

Browse files
committed
Document 8.4 changes in openssl_csr_new
1 parent 3b06ef4 commit b4e5329

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

reference/openssl/functions/openssl-csr-new.xml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
<term><parameter>distinguished_names</parameter></term>
3131
<listitem>
3232
<para>
33-
The Distinguished Name or subject fields to be used in the certificate.
33+
The Distinguished Name or subject fields to be included in the
34+
certificate. The <parameter>distinguished_names</parameter> is an
35+
associative array where the keys represent the attribute names of
36+
Distinguished Names and the values can either be strings (for single
37+
value) or arrays (if multiple values need to be set).
3438
</para>
3539
</listitem>
3640
</varlistentry>
@@ -151,10 +155,8 @@
151155
<listitem>
152156
<para>
153157
<parameter>extra_attributes</parameter> is used to specify additional
154-
configuration options for the <acronym>CSR</acronym>. Both
155-
<parameter>distinguished_names</parameter> and
156-
<parameter>extra_attributes</parameter> are associative arrays, whose keys
157-
are converted to OIDs and applied to the relevant part of the request.
158+
attributes for the <acronym>CSR</acronym>. It is an associative arrays
159+
where the keys are converted to OIDs and applied as CSR attributes.
158160
</para>
159161
</listitem>
160162
</varlistentry>
@@ -181,6 +183,20 @@
181183
</row>
182184
</thead>
183185
<tbody>
186+
<row>
187+
<entry>8.4.0</entry>
188+
<entry>
189+
The <parameter>distinguished_names</parameter> associative array now supports arrays as values,
190+
allowing multiple values to be specified for a single attribute.
191+
</entry>
192+
</row>
193+
<row>
194+
<entry>8.4.0</entry>
195+
<entry>
196+
The <parameter>extra_attributes</parameter> parameter now correctly sets the CSR attributes,
197+
rather than modifying the subject's Distinguished Name as it previously did incorrectly.
198+
</entry>
199+
</row>
184200
<row>
185201
<entry>8.0.0</entry>
186202
<entry>

0 commit comments

Comments
 (0)