patientnut
patientnut

Reputation: 1

How do I decrypt an encrypted private key in ColdFusion?

I have an encrypted private key and a passphrase. How do I decrypt the private key in ColdFusion?

-----BEGIN ENCRYPTED PRIVATE KEY-----
{THE_ENCRYPTED_PRIVATE_KEY}
-----END ENCRYPTED PRIVATE KEY-----

In PHP it's possible to do this, but I can't find an equivalent in ColdFusion.

$key = openssl_pkey_get_private($private_key, $passphrase);

I've tried using the decrypt() method which didn't work.

Upvotes: 0

Views: 101

Answers (0)

Related Questions