Skip to content

Document 8.4 changes in openssl_csr_new #4315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 25 additions & 7 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,9 @@
<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
<acronym>CSR</acronym> attributes.
</para>
</listitem>
</varlistentry>
Expand All @@ -165,8 +168,9 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the <acronym>CSR</acronym> on success, &true; if CSR creation is
successful but signing fails&return.falseforfailure;.
Returns the <acronym>CSR</acronym> on success, &true; if
<acronym>CSR</acronym> creation is successful but signing
fails&return.falseforfailure;.
</para>
</refsect1>

Expand All @@ -181,6 +185,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
Loading