Create ClickOnce Manifest

1. Create Certification file
makecert [options] outputCertificateFile
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>makecert -sv Fulfillment_
US.pvk -n CN=forever21 Fulfillment_US.cer -r

OptionDescription
-sv pvkFile
Specifies the subject's .pvk private key file. The file is created if none exists.
-n x509name
Specifies the subject's certificate name. This name must conform to the X.500 standard. The simplest method is to specify the name in double quotes, preceded by CN=; for example, "CN=myName".
-r
Creates a self-signed certificate.

2. Create pfx file
pvk2pfx /pvk 
    pvkfilename.pvk [/pi pvkpassword] /spc spcfilename.ext [/pfx pfxfilename.pfx [/po pfxpassword] [/f]]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>pvk2pfx -pvk Fulfillment_
US.pvk -spc Fulfillment_US.cer -pfx Fulfillment_US.pfx

/pvk pvkfilename.pvk
Specifies the name of a .pvk file.
/spc spcfilename.ext
Specifies the name and extension of the Software Publisher Certificate (SPC) file that contains the certificate. The file can be either a .spc file or a .cer file.
/pfx pfxfilename.pfx
Specifies the name of a .pfx file.

댓글

이 블로그의 인기 게시물

Ubuntu Server에 GitLab 설치 Jenkins BlueOcean 연동 + MSBuild

c# Create Zip File Using 7-zip