Skip to main content

5. [etc] windows에서 자체 서명 인증서 발급


절차

  1. powershell을 관리자 권한으로 실행

  2. 서명하기

$cert = New-SelfSignedCertificate -DnsName www.example.com -CertStoreLocation "cert:\LocalMachine\My"
  1. 로컬에 저장
Export-Certificate -Cert $cert -FilePath C:\certificate.cer
  1. base64로 인코딩
CertUtil -encode .\certificate.cer .\certification.txt