Doc #73974 [NEW]: Certificate argument should be file://mycert.pem and not mycert.pem

From: Date: Mon, 23 Jan 2017 02:24:52 +0000
Subject: Doc #73974 [NEW]: Certificate argument should be file://mycert.pem and not mycert.pem
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14366@lists.php.net to get a copy of this message
From: hablutzel1 at gmail dot com Operating system: Ubuntu 16.04.1 LTS PHP version: 7.1.1 Package: OpenSSL related Bug Type: Documentation Problem Bug description:Certificate argument should be file://mycert.pem and not mycert.pem Description: ------------ --- From manual page: http://www.php.net/function.openssl-pkcs7-sign --- In example #1: if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem",... Should be: if (openssl_pkcs7_sign("msg.txt", "signed.txt", "file://mycert.pem",... See too http://php.net/manual/en/function.openssl-pkcs7-sign.php#21212 for details. -- Edit bug report at https://bugs.php.net/bug.php?id=73974&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73974&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73974&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73974&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73974&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73974&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73974&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73974&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73974&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73974&r=support Expected behavior: https://bugs.php.net/fix.php?id=73974&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73974&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73974&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73974&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73974&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73974&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73974&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73974&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73974&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73974&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73974&r=mysqlcfg

« previous php.doc.bugs (#14366) next »