note 46694 added to ref.openssl

From: Date: Wed, 20 Oct 2004 12:38:22 +0000
Subject: note 46694 added to ref.openssl
Groups: php.notes 
Request: Send a blank email to php-notes+get-78824@lists.php.net to get a copy of this message
In case you're wondering what's a "correctly hashed" directory for the use with cainfo: it's simply a directory which contains CA public certificates in PEM/X.509 format. You can get such certificates either from the CA's website (they advertise it in visible places) or from your browser. In Explorer for instance you can click on the little yellow padlock, go to the CA entry and export it. The only trick with the directory is that file names must be in the form "hash.#". The "hash" part is the 8-digit hex hash of the certificate, while the # part is a number which serves to differentiate certificates which give the same hash (yes, it can happen with certificates coming from the same CA). Usually # is 0, but you also can use 1, 2 and so on when having more certs with the same hash. In order to obtain the hash of a certificate you can use the openssl command line utility like this: openssl x509 -hash -in certfile.cer | head -1 ---- Manual Page -- http://www.php.net/manual/en/ref.openssl.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46694 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46694&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46694&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46694&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46694&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46694&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46694&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+46694&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78824) next »