openssl rsa -in privateKey.pem -out newPrivateKey.pem
или
openssl rsa -in cert.key -out cert.key
Here’s a concise review of a typical resource (like a wiki, fan site, or streaming guide):