This function will return FALSE if the private key requires a pass phrase.
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
openssl_x509_check_private_key — 秘密鍵が証明書に対応するかを確認する
cert証明書。
key秘密鍵。
key が
cert に対応する秘密鍵の場合に
TRUE、それ以外の場合に FALSE を返します。
This function will return FALSE if the private key requires a pass phrase.
Please note that this function only compares the public key component of the private key with the public key residing in the certificate.