Skip to content

openssl_pkey_new function is not working in the PHP version above 8.2+ #13214

@Pratik2121

Description

@Pratik2121

Description

The following code is not working after the 8.2 version

$privkey = openssl_pkey_new(array(
      "digest_alg"=>'md5',
      "private_key_bits" => 2048,
      "private_key_type" => OPENSSL_KEYTYPE_RSA,
));
$key_details = openssl_pkey_get_details($privkey);
print_r($key_details);

PHP Version

PHP 8.3

Operating System

Windows 10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions