140 reputation
128
bio website
location
age
visits member for 4 years
seen 2 days ago

I do stuff


Feb
3
comment How do I debug / fix my apache SSL setup?
SSLProxy is an invalid command o.o
Feb
3
comment How do I debug / fix my apache SSL setup?
Well, we can't turn off https in rails. Teh problem isn't in rails, it's that rails is still receiving an http request, and therefore is redirecting (but apache is forwarding https requests to http, hence the redirect loop). How does one use SSLProxy?
Feb
3
comment How do I debug / fix my apache SSL setup?
when I use just http:// I get a redirect loop. and rails says this: Redirected to ssl.devtinderbox.com Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [ssl.devtinderbox.com/] cause the rails app is trying to force SSL (by just redirecting non-ssl requests) ... so maybe I do need SSLProxy*?
Feb
3
revised How do I debug / fix my apache SSL setup?
added 470 characters in body
Feb
3
comment How do I debug / fix my apache SSL setup?
I just saw your edit. that's what I'm doing, the httpS://localhost:3002 =\
Feb
3
comment How do I debug / fix my apache SSL setup?
but... localhost:3002 is where the server is on the machine that ssl.mydomain.com. like.. once a browser has the IP for ssl.mydomain.com, the server needs to know what to do with the request coming in right? it needs to go to the rails server on 3002. So... I guess... I'm just confused. It goes Remote -> Server -> Rails App (Also on the server) So i guess it is Remote <-> Local <-> Local
Feb
3
comment How do I debug / fix my apache SSL setup?
yes. T_T I guess I just don't know what reverse proxy means. =\
Feb
3
awarded  Commentator
Feb
3
comment How do I debug / fix my apache SSL setup?
but.. .I'm not trying to connect over ssl from localhost to localhost. maybe you didn't see the updates I made to the question... but I'm always connecting from a machine that the server isn't running on. =\
Feb
3
comment How do I debug / fix my apache SSL setup?
ah, sorry, I thought that was clear because of the localhost. port 3002 is listening to both https and http, as rails is pretty cool like that. BUT, I'm having handshake errors. I'm using both 80 and 443 now, because a discussion on stack overflow convinced me that it wouldn't hurt to have both. =\
Feb
3
comment How do I debug / fix my apache SSL setup?
well, when I do that, I get a redirect loop. =\ The rails server re-directs http requests to https. and i guess when I made all the proxypasses to be http, it redirected the https to http =\
Feb
3
revised How do I debug / fix my apache SSL setup?
deleted 50 characters in body
Feb
3
comment How do I debug / fix my apache SSL setup?
how does this not work when the rails server handles both http and https? I don't understand. the server is running on port 3002. and the data recieved on ports 80 and 443 is just forwarded to the rails app... the apache SSL stuff decrypts the message and sends it to the rails app doesn't it? so then the rails app can understand both sets of messages. Or i have no idea what I'm doing, and haven't a clue how the production server works on EngineYard. (I'm trying to set up a development / staging server)
Feb
3
revised How do I debug / fix my apache SSL setup?
deleted 50 characters in body
Feb
3
comment How do I debug / fix my apache SSL setup?
I thought I did o.o maybe I have no idea what I'm doing. But I'm just trying to access my rails server via SSL from a remote machine. just as any web-goer would access a website from their machine.
Feb
3
revised How do I debug / fix my apache SSL setup?
added 115 characters in body
Feb
3
comment How do I debug / fix my apache SSL setup?
the proxy pass, I think, is just to forward connection coming from mydomain.com to the correct server running locally on the machine.. isn't it? and that isn't the part that is messed up =( I post screenshot
Feb
3
asked How do I debug / fix my apache SSL setup?
Feb
2
comment Need help trouble shooting Https webserver error - SSL Handshake failed
I'd be ok with that. Wherever the most help is ^^
Feb
2
asked Need help trouble shooting Https webserver error - SSL Handshake failed