Skip to content

Commit f0d1192

Browse files
authored
Document 8.4 changes in openssl_csr_new (#4315)
1 parent 6338117 commit f0d1192

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

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

Lines changed: 25 additions & 7 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,9 @@
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
160+
<acronym>CSR</acronym> attributes.
158161
</para>
159162
</listitem>
160163
</varlistentry>
@@ -165,8 +168,9 @@
165168
<refsect1 role="returnvalues">
166169
&reftitle.returnvalues;
167170
<para>
168-
Returns the <acronym>CSR</acronym> on success, &true; if CSR creation is
169-
successful but signing fails&return.falseforfailure;.
171+
Returns the <acronym>CSR</acronym> on success, &true; if
172+
<acronym>CSR</acronym> creation is successful but signing
173+
fails&return.falseforfailure;.
170174
</para>
171175
</refsect1>
172176

@@ -181,6 +185,20 @@
181185
</row>
182186
</thead>
183187
<tbody>
188+
<row>
189+
<entry>8.4.0</entry>
190+
<entry>
191+
The <parameter>distinguished_names</parameter> associative array now supports arrays as values,
192+
allowing multiple values to be specified for a single attribute.
193+
</entry>
194+
</row>
195+
<row>
196+
<entry>8.4.0</entry>
197+
<entry>
198+
The <parameter>extra_attributes</parameter> parameter now correctly sets the CSR attributes,
199+
rather than modifying the subject's Distinguished Name as it previously did incorrectly.
200+
</entry>
201+
</row>
184202
<row>
185203
<entry>8.0.0</entry>
186204
<entry>

0 commit comments

Comments
 (0)