In this tutorial i’m going to solve openssl_private_decrypt(): key parameter is not a valid private key. So follow your below code.
Now Decryption is working successfully.
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2022/11/image-25-1024x148.png)
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
In this tutorial i’m going to solve openssl_private_decrypt(): key parameter is not a valid private key. So follow your below code.
Now Decryption is working successfully.