5. [etc] windows에서 자체 서명 인증서 발급
절차
powershell을 관리자 권한으로 실행
서명하기
$cert = New-SelfSignedCertificate -DnsName www.example.com -CertStoreLocation "cert:\LocalMachine\My"
- 로컬에 저장
Export-Certificate -Cert $cert -FilePath C:\certificate.cer
- base64로 인코딩
CertUtil -encode .\certificate.cer .\certification.txt