note 54149 added to function.openssl-csr-new
| From: | php-general at lists dot php dot net | Date: | Fri, 24 Jun 2005 19:34:48 +0000 |
| Subject: | note 54149 added to function.openssl-csr-new | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90921@lists.php.net to get a copy of this message | ||
If you get the error:
error:0D11A086:asn1 encoding routines:ASN1_mbstring_copy:string too short
then look at your key:value pairs in the $dn (distinguished name) array.
If you have one value (like "organizationalUnitName" = "") set to an empty
string, it will throw the above error.
Fix the error by either eliminating that array element from $dn completely, or using a space "
" instead of an empty string.
----
Manual Page -- http://www.php.net/manual/en/function.openssl-csr-new.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54149
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54149&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54149&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54149&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54149&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54149&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54149&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54149&report=yes
Search -- http://master.php.net/manage/user-notes.php