24 October 2008

Running the HTTPSSL service in a svchost.exe

On Windows 2003 the HTTPSSL service (the service that implements SSL) runs in the lsass.exe process. If you ever are interested in running the HTTPSSL service in a svchost.exe process instead of the default lsass.exe here is how you do it.

To configure the HTTPFilter service to run in its own svchost, we have to modify the ImagePath value for the service entry in the registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTPFilter

ImagePath       C:\WINDOWS\system32\svchost.exe -k HTTPFilter

Restart the HTTP.SYS driver

net stop HTTP /y

net start HTTP

iisreset /start

This will make the HTTPFilter service to run under a svchost.exe instead of the lsass.exe

Ensure you backup the registry key before making the changes.

Bookmark and Share
Filed under:
 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# infoblog » Running the HTTPSSL service in a svchost.exe said:

PingBack from http://blog.a-foton.ru/index.php/2008/10/25/running-the-httpssl-service-in-a-svchostexe/

24 October 08 at 6:09 PM
# Kris said:

Pardon my ignorance - what does HTTPSSL service do? I was under the impression IIS handled the SSL sessions.

25 October 08 at 12:40 AM
# Christopher Lewis said:

Interesting, but could you explain why you would want to do this?

26 October 08 at 11:11 PM
# Rahul Soni said:

Hey VJ,

Why on earth would you want to do this? Wouldn't this cause another context switch?

-Rahul

31 October 08 at 11:30 PM
# Rahul Soni said:

Hey VJ,

Why on earth would you want to do this? Wouldn't this cause another context switch?

-Rahul

31 October 08 at 11:30 PM
# vijaysk said:

Kris,

 IIS inturn uses HTTPSSL to handle the SSL part

Chris, Rahul,

 Just for debugging purposes.

01 November 08 at 9:48 PM

Leave a Comment

Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Page view tracker