on cli if you type this
openssl rsa -in cert_export_client.key -out cert_export_client.key
it will prompt to enter your passphrase. Is is possible to automate with python?
on cli if you type this
openssl rsa -in cert_export_client.key -out cert_export_client.key
it will prompt to enter your passphrase. Is is possible to automate with python?
You can use the the os
module:
from os import system
system("openssl rsa -in cert_export_client.key -out cert_export_client.key")
The system function executes the given command in a subshell.