<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Web Deployment Tool (MS Deploy)</title><link>http://forums.iis.net/1144.aspx</link><description>Questions about using the Microsoft Web Deployment Tool to sync or migrate sites and servers.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: MSDeploy using https instead of http</title><link>http://forums.iis.net/thread/1907904.aspx</link><pubDate>Mon, 22 Jun 2009 17:58:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907904</guid><dc:creator>western592</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907904.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907904</wfw:commentRss><description>Added the -allowUntrusted to the command and everything works now.</description></item><item><title>Re: MSDeploy using https instead of http</title><link>http://forums.iis.net/thread/1907903.aspx</link><pubDate>Mon, 22 Jun 2009 17:47:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907903</guid><dc:creator>western592</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907903.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907903</wfw:commentRss><description>I used the certhash of the local self signed certificate for the command.  This gives me a &amp;quot;SSL Certificate successfully added&amp;quot; message.  

When I try to rerun the msdeploy command from the remote server to copy the files, I still get this error message now:

Error:  Request to remote agent URL &amp;#39;https://1.2.3.4:8001/MSDEPLOYSYNC/&amp;#39; failed.
Error:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Error:  The remote certificate is invalid according to the validation procedure.

Error count: 1

Is there another step to make the remote certificate valid?  Or do I need to create a new self signed certificate with different attributes?</description></item><item><title>Re: MSDeploy using https instead of http</title><link>http://forums.iis.net/thread/1907899.aspx</link><pubDate>Mon, 22 Jun 2009 17:02:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907899</guid><dc:creator>western592</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907899.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907899</wfw:commentRss><description>Looks like I am on the right track thanks to the technet article, but I can&amp;#39;t set the ssl binding.

When I run this command:
netsh.exe http add sslcert ipport=0.0.0.0:8001 certhash=55F3E60622CE26F28C2AFE4C39F09F38F1204323 appid={00000000-0000-0000-0000-000000000000}

I get this error message:
SSL Certificate add failed, Error: 1312
A specified logon session does not exist. It may already have been terminated.

I am running the command using a administrator cmd window.

I assume I am correct that this command is supposed to generate a self signed certificate and I don&amp;#39;t need to complete any steps before it?</description></item><item><title>Re: MSDeploy using https instead of http</title><link>http://forums.iis.net/thread/1907730.aspx</link><pubDate>Fri, 19 Jun 2009 20:30:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907730</guid><dc:creator>richma</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907730.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907730</wfw:commentRss><description>&lt;p&gt;This should give you what you need. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Customizing and Securing the Remote Service&lt;/p&gt;
&lt;p&gt;http://technet.microsoft.com/en-us/library/dd569093(WS.10).aspx&lt;/p&gt;</description></item><item><title>MSDeploy using https instead of http</title><link>http://forums.iis.net/thread/1907713.aspx</link><pubDate>Fri, 19 Jun 2009 17:32:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907713</guid><dc:creator>western592</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907713.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907713</wfw:commentRss><description>I have been able to get MSDeploy working using a custom http url and port.  When I reinstall and change it to use https along with the same custom port, I get the following error:


C:\Program Files\IIS\Microsoft Web Deploy&amp;gt;msdeploy.exe -verb:sync -source:contentPath=D:\inetpub\website.com -dest:contentPath=c:\inetpub\website.com,computername=https://1.2.3.4:8001/MSDEPLOYSYNC/,userName=administrator,password=*****


Error:  Request to remote agent URL &amp;#39;https://1.2.3.4:8001/MSDEPLOYSYNC/&amp;#39; fa
iled.
Error:  The underlying connection was closed: An unexpected error occurred on a
send.
Error:  Unable to read data from the transport connection: An existing connectio
n was forcibly closed by the remote host.
Error:  An existing connection was forcibly closed by the remote host
Error count: 1


Any special that needs to be setup in order to use https?</description></item></channel></rss>