title: Openssl Command Cheatsheet categories: [cheatsheets]
openssl x509 -pubkey -noout -in <file>
openssl rsa -noout -text -pubin < key.pub
openssl rsa -noout -text -in key.pub
openssl genrsa -out server.key 4096
openssl rsautl -decrypt -inkey pkey.pem -in flag.enc -out out.dec