SyntaxFix
Write A Post
Hire A Developer
Questions
openssl rsa -in privkey.pem -pubout > key.pub
That writes the public key to key.pub
key.pub