1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 12:59:51 +01:00
tldr/pages.ko/common/openssl-req.md
2024-10-14 09:50:40 +02:00

539 B

openssl req

PKCS#10 인증서 서명 요청을 관리하는 OpenSSL 명령어. 더 많은 정보: https://www.openssl.org/docs/manmaster/man1/openssl-req.html.

  • 인증 기관에 보낼 인증서 서명 요청 생성:

openssl req -new -sha256 -key {{파일이름.key}} -out {{파일이름.csr}}

  • 자체 서명된 인증서와 해당 키 쌍을 생성하여 파일에 저장:

openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{파일이름.key}} -out {{파일이름.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}