httpcfg.exe

Getting Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error

戏子无情 提交于 2019-12-23 06:54:37
问题 I know there are a lot of questions related to same topics at stackoverflow, but here i have some different issues: I used the installer class to reserve a port and bind it with hash on win7/Winxp : if (Environment.OSVersion.Version.Major > 5) { startInfo.Arguments = @"/c netsh http add urlacl url=https://127.0.0.1:8083/ user=EVERYONE"; netsh http add sslcert ipport=127.0.0.1:8083 certhash=df03c4b0b32f3302a3b70abe6b5dfd864d0986a5 appid={00112233-4455-6677-8899-CCBBCCDDEEFF}

Getting Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error

笑着哭i 提交于 2019-12-23 06:53:33
问题 I know there are a lot of questions related to same topics at stackoverflow, but here i have some different issues: I used the installer class to reserve a port and bind it with hash on win7/Winxp : if (Environment.OSVersion.Version.Major > 5) { startInfo.Arguments = @"/c netsh http add urlacl url=https://127.0.0.1:8083/ user=EVERYONE"; netsh http add sslcert ipport=127.0.0.1:8083 certhash=df03c4b0b32f3302a3b70abe6b5dfd864d0986a5 appid={00112233-4455-6677-8899-CCBBCCDDEEFF}

wcf System.ServiceModel.AddressAlreadyInUseException

断了今生、忘了曾经 提交于 2019-12-10 20:59:36
问题 Apologies if this question appears twice on stackOverflow Im trying to run a wcf service on a windows server 2003 box. Im getting a System.ServiceModel.AddressAlreadyInUseException exception when the servicehost calls Open() and it tells gives me the following error: HTTP could not register URL http://+:8080/LogoResizer/mex/ because TCP port 8080 is being used by another application Ive read that I need to use the httpcfg.exe to register my namespace and Ive used the GUI tool found here to do

Configure a Port with an SSL Certificate w\o using Httpcfg

☆樱花仙子☆ 提交于 2019-12-08 03:57:52
问题 When one develops a self-hosted WCF http server, one of the steps needed is to bind an SSL certificate to a port number: httpcfg set ssl -i 0.0.0.0:8012 -h 0000000000003ed9cd0c315bbb6dc1c08da5e6 as stated in: http://msdn.microsoft.com/en-us/library/ms733791.aspx However, It is hardly expected that in my deployment environment one would be able to do it. (I don't even know if the httpcfg.exe is redistributable) Moreover, if the user changed the port after he installed the product then he will

Configure a Port with an SSL Certificate w\\o using Httpcfg

心已入冬 提交于 2019-12-06 09:08:13
When one develops a self-hosted WCF http server, one of the steps needed is to bind an SSL certificate to a port number: httpcfg set ssl -i 0.0.0.0:8012 -h 0000000000003ed9cd0c315bbb6dc1c08da5e6 as stated in: http://msdn.microsoft.com/en-us/library/ms733791.aspx However, It is hardly expected that in my deployment environment one would be able to do it. (I don't even know if the httpcfg.exe is redistributable) Moreover, if the user changed the port after he installed the product then he will need to run the command again.... how can this step be automated pro grammatically? preferably in C#

.NET or Win32 Equivalent of “netsh http add urlacl” command

我只是一个虾纸丫 提交于 2019-11-30 03:44:53
There are several questions around how to allow a self-hosted WCF application to use BasicHttpBinding with HTTP.SYS without requiring administrative privileges. It boils down to needing to grant permission (from an admin context) to the URL, then the user can host whatever at the specified URL. netsh http add urlacl url= http://+:80/MyService I would like to be able to query and add registered URLs without resorting to parsing commandline output of the "netsh" or "httpconfig" commandline tools. Is there is a public Win32 or .NET API that I can call for this functionality? The Win32 API to use

.NET or Win32 Equivalent of “netsh http add urlacl” command

和自甴很熟 提交于 2019-11-29 00:16:12
问题 There are several questions around how to allow a self-hosted WCF application to use BasicHttpBinding with HTTP.SYS without requiring administrative privileges. It boils down to needing to grant permission (from an admin context) to the URL, then the user can host whatever at the specified URL. netsh http add urlacl url=http://+:80/MyService I would like to be able to query and add registered URLs without resorting to parsing commandline output of the "netsh" or "httpconfig" commandline tools