jjzjj

SignException

全部标签

php - 错误 0x2006D002 :BIO routines:BIO_new_file:system lib with PHP on Windows

尝试通过简单的方式加载我的私钥时出现以下错误。这是我的代码。publicfunctionloadPrivateKey($fileName,$password=null){if(!is_file($fileName))thrownewSignException('Privatekeynotfound',SignException::KEY_NOT_FOUND);$fileContent=file_get_contents($fileName);if(!is_null($password))$this->prvKey=openssl_get_privatekey($fileContent,