Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Saturday, October 21, 2017
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 83
Guests Online: 83
Members Online: 0

Registered Members: 102556
Newest Member: retr0astr4
Latest Articles
View Thread

HellBound Hackers | Computer General | Web Server

Author

Reverse Proxy with SSL

Scar0ptics
Member



Posts: 226
Location: ∆ P®0X¥ W0R|D ∆
Joined: 19.11.13
Rank:
Mad User
Posted on 29-07-17 17:07
have two web servers running Apache 2.4 on CentOS 7 and I am trying to set up a reverse proxy server for my web server. As of now, the proxy server is using a Let's Encrypt certificate, and when I access the proxy server before making changes to any virtual host configurations, I access the domain I have set up on the proxy and see a green lock in the upper left hand corner (no problems). I am using Firefox by the way.

Now, when I configure a virtual host to redirect the request to my web server, I get a web page with missing content (yellow exclamation point on the browser lock). My web browser appears to be blocking the images for my own protection, apparently. The proxy server appears to be redirecting my original request, which is good, but I am not seeing all the content load on-screen. It's likes it's been filtered out (it is) because the browser is just saying it's insecure because it is pulling content from another domain (which it is).

How can I solve this issue?

Here is my configuration for a virtual host:


<VirtualHost _default_:443>


# General setup for the virtual host, inherited from global configuration
#DocumentRoot "/var/www/html"
#ServerName www.example.com:443

# Use separate log files for the SSL virtual host; note that LogLevel
# is not inherited from httpd.conf.
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn

# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
#
ProxyRequests Off

ProxyPass / http://IP:80/
ProxyPassReverse / http://IP:80/


</virtualhost>

No one on Stack Overflow can figure this out.

Edited by Scar0ptics on 30-07-17 17:31
overlay-network.ddns.net
Author

RE: Reverse Proxy with SSL

Scar0ptics
Member



Posts: 226
Location: ∆ P®0X¥ W0R|D ∆
Joined: 19.11.13
Rank:
Mad User
Posted on 30-07-17 02:32
I can get the proxy to pass, but the domain changes to another domain using HTTP instead of keeping HTTPS protocol.

Edited by Scar0ptics on 30-07-17 17:32
overlay-network.ddns.net
Author

RE: Reverse Proxy with SSL

Scar0ptics
Member



Posts: 226
Location: ∆ P®0X¥ W0R|D ∆
Joined: 19.11.13
Rank:
Mad User
Posted on 30-07-17 04:17
I actually got this to work partially. The full PHP script is not working and I am extremely limited on what kind of content I can present on a web page. No one on Stack Overflow has a solution either.

hidden-network.dd. . .

Any Suggestions??

Edited by Scar0ptics on 03-08-17 01:29
overlay-network.ddns.net