'Getting "unable to write 'random state'" error in AWS Lambda

I'm facing this error when trying to run subprocess.run(['openssl', .....]) command in my AWS lamda function. Can someone help here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source