Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Client Certificate in a HttpSys server
#1
Under IIS/ISAPI, this worked for me practically out of the box. But with HttpSys I do not seem to be getting any client certificate data.

1) Certificate installation IW app does not enable "clientcertnegotiation" httpsys parameter, which is off by default, so one has to manually run "netsh http update sslcert [...]" command in powershell to enable it. DONE!

2) Then you need to add ServerVariables.Add commands in BaseConfig. DONE!
3) And finally read the data using WebApplication.Request.GetServerVariableValue in the form event. DONE!

The client browser does get a prompt and confirms it, so the server must be asking for it. But the data read back is empty.

I suspect this may just be an omission in the IW httpsys implementation.

Is anyone doing this? Is it working for you? Have I missed anything?
Reply
#2
(12-06-2022, 05:16 AM)iwuser Wrote: Under IIS/ISAPI, this worked for me practically out of the box. But with HttpSys I do not seem to be getting any client certificate data.

1) Certificate installation IW app does not enable "clientcertnegotiation" httpsys parameter, which is off by default, so one has to manually run "netsh http update sslcert [...]" command in powershell to enable it. DONE!

2) Then you need to add ServerVariables.Add commands in BaseConfig. DONE!
3) And finally read the data using WebApplication.Request.GetServerVariableValue in the form event. DONE!

The client browser does get a prompt and confirms it, so the server must be asking for it. But the data read back is empty.

I suspect this may just be an omission in the IW httpsys implementation.

Is anyone doing this? Is it working for you? Have I missed anything?

Did you read this?   https://www.atozed.com/2022/11/creating-...lications/
Reply
#3
(12-06-2022, 02:53 PM)joelcc Wrote: Yes, thanks. SSL is all working. It's just that I'm unable to read client certificate from the user connections there ;-(
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)