how can I add the http command to netsh?

2

In the msdn docs for ssl configuration, there's this command:

netsh http show sslcert

But on my machine (Server 03) I don't have httpcfg command (looked in many places), netsh doesn't have the http sub-command. How can I get the http sub-command to show up? I've tried using AddHelper with all the http*.dll's I could find. No luck.

jcollum

Posted 2010-09-24T17:24:52.220

Reputation: 3 737

Answers

3

The MSDN docs say for Windows Server 2003, you've to use httpcfg query ssl.

If you httpcfg is not available, you will have to install Windows Server 2003 support tools. netsh http show sslcert is for Vista.

Sathyajith Bhat

Posted 2010-09-24T17:24:52.220

Reputation: 58 436

Well httpcfg isn't available on my machine but netsh is. – jcollum – 2010-09-24T17:45:39.693

Looks like it has to be added to the OS - HttpCfg.exe ships with the operating system starting with Windows Server 2003 as a binary executable, together with a help file that describes how to use it. It can be installed from the operating-system distribution disk as a support tool. http://msdn.microsoft.com/en-us/library/aa364478(VS.85).aspx

– dsolimano – 2010-09-24T18:13:10.920

@Dsolimano - yes, it needs to be installed from support tools - just updated @jcollum – Sathyajith Bhat – 2010-09-24T18:14:50.763

For the task I'm trying to complete, it'd be preferable to use netsh. I don't want code in my codebase that is dependent on the installation of a support tool when (if) I could simply use netsh instead. – jcollum – 2010-09-24T18:15:32.913