- Title 자제서명인증서 100년짜리 만들기
- Writer Minwoo, Song Date 2023-11-01/16:36 Read 27
1. 시작 메뉴에 보시면 [Power shell] 있습니다.
2. 마우스 우클릭하고 [관리자]로 실행하여 주세요.
3. 그림과 같이 입력하시면 100년짜리 발급할 수 있습니다.
New-SelfSignedCertificate -CertStoreLocation "Cert:\localmachine\My\" -KeyExportPolicy Exportable -NotAfter (Get-date).addYears(100) -dnsname "호스트명"
4. [IIS의 인증서 관리]나, [로컬 컴퓨터 인증서 관리]를 여시고, 마우스 우클릭하시면 export하실 수 있습니다.
그러나 서버를 호출할때 도메인이 아닌, 호스트명으로 호출해야 합니다.
2. 마우스 우클릭하고 [관리자]로 실행하여 주세요.
3. 그림과 같이 입력하시면 100년짜리 발급할 수 있습니다.
New-SelfSignedCertificate -CertStoreLocation "Cert:\localmachine\My\" -KeyExportPolicy Exportable -NotAfter (Get-date).addYears(100) -dnsname "호스트명"
4. [IIS의 인증서 관리]나, [로컬 컴퓨터 인증서 관리]를 여시고, 마우스 우클릭하시면 export하실 수 있습니다.
그러나 서버를 호출할때 도메인이 아닌, 호스트명으로 호출해야 합니다.