Home | Tutorials | Wiki | Issues
Ask Your Question
0

How can I run GZWeb over HTTPS/SSL?

asked 2017-04-11 16:38:14 -0500

srees gravatar image

We run an integration of GZWeb in the cloud, embedded via iFrame into our main webserver. With Google making a big push to everyone to run HTTPS only, we find we are restricted because gzweb is only HTTP, and we get blocked iframes due to mixed content.

Is there any way to run the viewer via HTTPS? I'm completely inexperienced with nodejs...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-11 16:41:04 -0500

eugene-katsevman gravatar image

an intermediate https/http proxy?

edit flag offensive delete link more

Comments

It may be possible (can we make gzweb aware of it's DNS name?), but get's very complicated in our situation, referencing a lot of client's cloud servers. We don't really want the hassle of trying to proxy all their stuff and would prefer to be able to tell them how to enable SSL themselves for their application.

srees gravatar imagesrees ( 2017-04-11 16:58:51 -0500 )edit

I don't get what you've said, sorry, due to my poor english. I was thinking of reverse proxy, which will stay on the same host as gzweb, unpacking https requests from clients to http for gzweb and vice versa.

eugene-katsevman gravatar imageeugene-katsevman ( 2017-04-11 18:59:07 -0500 )edit

or maybe I'm half asleep

eugene-katsevman gravatar imageeugene-katsevman ( 2017-04-11 19:01:02 -0500 )edit

I'll have to look into that idea further. My preference though would be to modify/update the existing webserver to support SSL.

srees gravatar imagesrees ( 2017-04-11 19:04:48 -0500 )edit

Please feel free to make a pull request proposing the changes. This is currently how the server is spun up: https://bitbucket.org/osrf/gzweb/src/ff44316fd3c5b415eb1ccd9aef519520d4bdc32a/start_gzweb.sh?at=default&fileviewer=file-view-default#start_gzweb.sh-26

chapulina gravatar imagechapulina ( 2017-04-11 19:32:47 -0500 )edit

chapulina, that actually has me pointed in the right direction. I'll update this ticket once I get it all nailed down.

srees gravatar imagesrees ( 2017-04-12 11:38:51 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-11 16:38:14 -0500

Seen: 22 times

Last updated: Apr 11