Atozed Forums

Full Version: Http.sys and SSL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I tried to configure a SA Application with Http.sys with SSL certificate. If I register the certificate by IIS everithing woks fine.

Is it possible use Http.sys application with SSL without IIS?

Thanks in advance
Hi Max, yes it is. Your certificate must be installed on windows first. Open a PowerShell (as Admin), get Thumbprint:
Code:
dir cert:\localmachine\my
Result, something like this:
Code:
Thumbprint                                Subject
----------                                -------
8F9AFB30C7318432C5AF34591AECB3103439DB24  CN=www.jnp.com.br, OU=PositiveSSL, OU=Domain Control Validated

Copy the Thumprint of your certificate. On the PoweShell (as Admin):
Code:
$guid = [guid]::NewGuid()
$certHash = "THUMBPRINT COPIED ABOVE"
"http add sslcert ipport=0.0.0.0:8889 certhash=$certHash appid={$guid} certstore=my" | netsh
It works! Thanks