Web Deploy cert Provider
Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP
cert
The cert provider synchronizes server certificates.
Example
msdeploy -verb:sync -source:cert=my\6bb02149af180121808166c31f7837f11aeafa2a -dest:package=c:\package.zip
The cert provider can be used to display or synchronize the specified certificate store and certificate hash.
The cert provider only supports certificates in the "My" store, where they are stored by default. However, you must specify the certificate store because other stores exist on the computer. In IIS 6.0, the certificate hash is stored in the metabase; in IIS 7, the certificate hash is stored in the HTTP.sys file and can be seen by running the command netsh http show sslcert at a command prompt. In a sync operation, the cert provider traverses up the hierarchical chain of the certificate that you specify and includes all of the information that it finds in the certification path.
Example usages
1) Display, in XML format, the name, issuer, and blob attributes of the specified certificate.
msdeploy -verb:dump -source:cert=my\6bb02149af180121808166c31f7837f11aeafa2a -xml
2) Copy the specified certificate to the archive located in the c:\archive directory.
msdeploy -verb:sync -source:cert=my\6bb02149af180121808166c31f7837f11aeafa2a -dest:archivedir=c:\archive