openssl_x509_read parses the certificate supplied by certificate and returns an OpenSSLCertificate object for it.
X509 certificate. See Key/Certificate parameters for a list of valid values.
Returns an OpenSSLCertificate on success or false on failure.
|8.0.0||On success, this function returns an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was returned.|
|8.0.0||certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.|