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. 빌드 후 게시
'IT' 카테고리의 다른 글
윈도우 Task 명령어 (tasklist , taskkill , wmic) (0) | 2022.07.06 |
---|---|
C# iTextSharp PDF 파일 합치기 Merge (0) | 2022.06.28 |
Windows 10 RS4 이상 , 최고의 성능 전원 관리 옵션 활성화 (0) | 2022.06.26 |
ubuntu mysql cron mysqldump 백업 자동화 스크립트 (0) | 2020.03.24 |
윈도우10 19h2 (1909) 뭐가 바꼈을까? (주요 내용을 봅시다.) (0) | 2019.11.20 |
댓글