ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Discussion to talk about software related topics only.
Post Reply
dnishimura
Posts: 19
Joined: Fri Dec 19, 2014 3:07 pm

ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Post by dnishimura »

Has anyone tried using ReadS19ApplicationCodeFromStream over an SSL stream? Is it even possible?

Thanks.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Post by pbreed »

Yes its been done. Should just work....
Using the nburn\examples\standardstack\web\postapplicationupdate with ssl server should do just that...
dnishimura
Posts: 19
Joined: Fri Dec 19, 2014 3:07 pm

Re: ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Post by dnishimura »

Actually I wanted the update to originate in the other direction... have the Netburner do a HTTPS GET for the s19 file. I was able to get it working. The only difference was that I read the HTTPS stream until the end of the HTTP header and then pass the FD to ReadS19ApplicationCodeFromStream. Unfortunately, it wouldn't work if the HTTP Transfer-Encoding is chunked, so I'm only able to do it if the web server serves it up not chunked.

Thanks for pointing me to the example.
Post Reply