IT/프로그램 | 앱

ClickOnce 기간 길고 넉넉하게 개인키 인증서 생성 발급하기

DKSOFT 2022. 6. 27.

ClickOnce 배포시 인증서를 1년 이상의 인증서를 생성하고 싶을때

1. 개발용 커맨드 프롬프트를 실행 합니다. cmd

2. 아래 명령어를 실행

makecert.exe -r -pe -n "CN=[인증서이름]" -b [시작일자] -e [종료일자] -sky [SubjectKeySpec] -ss [저장소이름]

예)
makecert.exe -r -pe -n "CN=TEST_CERT" -b 06/27/2022 -e 12/31/2042 -sky exchange -ss MyStorage

 

MakeCert 는 아래 MS 사이트 참조

 

MakeCert - Win32 apps

Creates an X.509 certificate, signed by the test root key or other specified key, that binds your name to the public part of the key pair. The certificate is saved to a file, a system certificate store, or both.

docs.microsoft.com

 

 

Certificate Creation Tool (Makecert.exe)

Table of contents Article 12/05/2006 5 minutes to read In this article --> The Certificate Creation tool generates X.509 certificates for testing purposes only. It creates a public and private key pair for digital signatures and stores it in a certificate

docs.microsoft.com

3. Visual Studio 의 프로젝트를 선택 합니다.

4. 프로젝트의 오른쪽 마우스 클릭-> 속성->서명으로 갑니다.

5. "저장소에서 선택" 을 클릭 합니다.

6. 빌드 후 게시

댓글

💲 추천 글