Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I'm not sure, but I think this is a bug
first set key as a certificate string openssl_x509_export($this->key, $str_cert); ... $this->key = $str_cert; and then try to get privatekey from cert string $this->key = openssl_get_privatekey($this->key, $this->passphrase); If I'm not right, then sorry for wasting your time.
- Loading branch information
403b12f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assignment is wrong because
openssl_x509_export
return is a boolean