Server authentication - WeOnlyDo Discussion board

Server authentication (General questions)

by Paco Lianez, Wednesday, January 09, 2008, 13:23 (6163 days ago)

I need to authenticate to the server with a client certificate. Is this possible? Can I do the check and download steps of the update process with wodHttpDLX and the last step (update) as normal?

Re: Server authentication

by woddrazen, Wednesday, January 09, 2008, 14:50 (6163 days ago) @ Paco Lianez

Hi Paco,


Can you explain what exactly do you need?

You want to authenticate to that server same as you do with wodHttpDLX right? Using SSL and certificate?


Regards,
Drazen

Re: Server authentication

by Paco Lianez, Wednesday, January 09, 2008, 16:17 (6163 days ago) @ woddrazen

Yes

Re: Server authentication

by wodDamir, Wednesday, January 09, 2008, 17:00 (6163 days ago) @ Paco Lianez

Paco,

Did you try the Check method on the URL you require? What do you receive?

You should be able to check a Https site for updates.

Regards,
Damba

Re: Server authentication

by Paco Lianez, Wednesday, January 09, 2008, 17:07 (6163 days ago) @ wodDamir

My server requires a client certificate. How can I set it? In wodHttpDLX I have a Certificate property.

Re: Server authentication

by wodDamir, Wednesday, January 09, 2008, 17:09 (6163 days ago) @ Paco Lianez

Paco,

Currently you cannot. I've already contacted our lead programmer on this. We will check how hard it will be to implement certificate authentication into the component.

We will inform you as soon as we know more.

Regards,
Damba

Re: Server authentication

by Paco Lianez, Wednesday, January 09, 2008, 17:38 (6163 days ago) @ wodDamir

Can I use a file://... URL in the Check method? If yes, I can download the config file with HttpDLX (in addition to setting a certificate, I need to set the proxy data manually as I do not use IE), download all NeedReplace files with HttpDLX, change the URL property of the UpdFiles to point to the downloaded files (with file://..) and call the Download method to continue as normal... Is this possible?

Re: Server authentication

by wodDamir, Wednesday, January 09, 2008, 18:12 (6163 days ago) @ Paco Lianez

Paco,

Yes, that should work. You can point wodAppUpdate to files stored locally. You can even fill in the component Files collection on your own and call the Download method (without checking).

Or you can download the the config file and call the Check method on it locally.

However, perhaps it would be easier to wait a while while we implement certificate authentication into the component.

Regards,
Damba

Re: Server authentication

by Paco Lianez, Wednesday, January 09, 2008, 18:32 (6163 days ago) @ wodDamir

I will wait, but I may need (besides certificates) NTLM authentication, proxy settings (ProxyHostName, ProxyType,...) for my intranet scenario. In short, I need all the features of wodHttpDLX...

Thanks!

Re: Server authentication

by wodSupport, Wednesday, January 09, 2008, 21:27 (6162 days ago) @ Paco Lianez

Paco,

wodAppUpdate cannot provide all features of wodHttpDLX because wodHttpDLX isn't used in it - it would increase it's size for almost a megabyte. wodAppUpdate uses different way of fetching remote URL.

Perhaps it would be more convinient for you to fetch resource by wodHttpDLX, save it locally (it is saved by wodHttpDLX anyway!) and pass it's local file to wodAppUpdate? Would that solve your problem?

Kreso

Re: Server authentication

by Paco Lianez, Thursday, January 10, 2008, 11:15 (6162 days ago) @ wodSupport

Yes. This solution seems valid for me.
I will try it.

Thanks!