#38937 [Bgs->Fbk]: openssl_csr_parse()

From: Date: Sun, 08 Oct 2006 21:10:28 +0000
Subject: #38937 [Bgs->Fbk]: openssl_csr_parse()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103268@lists.php.net to get a copy of this message
ID: 38937 Updated by: pajoye@php.net Reported By: bassijunior at yahoo dot com dot br -Status: Bogus +Status: Feedback Bug Type: OpenSSL related Operating System: Windows XP PHP Version: 5.1.6 -Assigned To: +Assigned To: pajoye Previous Comments: ------------------------------------------------------------------------ [2006-10-08 21:10:18] pajoye@php.net 5.2 will be released in the next 2-3 weeks. The documentation will be added in the PHP manual. But what did not work? the 5.2 install? ------------------------------------------------------------------------ [2006-10-08 18:51:07] bassijunior at yahoo dot com dot br I found something in the Internet, but it doesn´t work. Where can I found a good documentation about that? And, another thing, do you know when the new version of PHP, the version 5.2 will be available? Thanks. ------------------------------------------------------------------------ [2006-10-08 11:29:36] pajoye@php.net Snapshots are just like release. You can follow the install instructions in the manual to install them. You can use the CLI (console) to test it. ------------------------------------------------------------------------ [2006-10-08 04:33:24] bassijunior at yahoo dot com dot br Hi, I think so. But I don´t know how to use the snapshot. What can I do to use this? I did a download, but now, apache doesn´t work. ------------------------------------------------------------------------ [2006-10-05 11:28:10] pajoye@php.net With 5.2.0 or later: Is it what you are looking for? $csr = file_get_contents('somecsr'); $csr_details = openssl_csr_get_subject($csr, 1) print_r($details); and to get the pkey: $key = openssl_csr_get_public_key($csr); You can try it using the snapshot: http://snaps.php.net but it will not be backported to 5.1. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38937 -- Edit this bug report at http://bugs.php.net/?id=38937&edit=1

« previous php.bugs (#103268) next »