diff --git a/reference/openssl/functions/openssl-csr-new.xml b/reference/openssl/functions/openssl-csr-new.xml index a7b96802980e..8523f7121b88 100644 --- a/reference/openssl/functions/openssl-csr-new.xml +++ b/reference/openssl/functions/openssl-csr-new.xml @@ -30,7 +30,11 @@ distinguished_names - 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 distinguished_names 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). @@ -151,10 +155,9 @@ extra_attributes is used to specify additional - configuration options for the CSR. Both - distinguished_names and - extra_attributes are associative arrays, whose keys - are converted to OIDs and applied to the relevant part of the request. + attributes for the CSR. It is an associative arrays + where the keys are converted to OIDs and applied as + CSR attributes. @@ -165,8 +168,9 @@ &reftitle.returnvalues; - Returns the CSR on success, &true; if CSR creation is - successful but signing fails&return.falseforfailure;. + Returns the CSR on success, &true; if + CSR creation is successful but signing + fails&return.falseforfailure;. @@ -181,6 +185,20 @@ + + 8.4.0 + + The distinguished_names associative array now supports arrays as values, + allowing multiple values to be specified for a single attribute. + + + + 8.4.0 + + The extra_attributes parameter now correctly sets the CSR attributes, + rather than modifying the subject's Distinguished Name as it previously did incorrectly. + + 8.0.0