openssl genpkey

비대칭 키 쌍을 생성하는 OpenSSL 명령어. 더 많은 정보: https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html.

openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:{{2048}} -out {{파일이름.key}}

openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:{{prime256v1}} -out {{파일이름.key}}

openssl genpkey -algorithm {{ED25519}} -out {{파일이름.key}}