Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSL Encryption with apache proxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tuner23
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 82

PostPosted: Wed Jan 08, 2014 11:14 am    Post subject: SSL Encryption with apache proxy Reply with quote

Hy,


i want to setup ssl encryption for my apache proxy, so that i don't have to encrypt every site.

I tried out the following, but that does not work:
Code:

<VirtualHost *:80>
    ServerName  wiki.tunes.dyndns.org

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</VirtualHost>

<VirtualHost *:443>
    ServerName  wiki.tunes.dyndns.org


    SSLEngine on

    SSLCertificateFile /etc/apache2/ssl/arx.crt
    SSLCertificateKeyFile /etc/apache2/ssl/arx.key

    ProxyPreserveHost On
    ProxyPass / http://wiki.arx/
    ProxyPassReverse / http://wiki.arx/

</VirtualHost>



Is it possible to set this up, the way that the connection ist encrypted from the client to the proxy?
How can i manage this?


Thanks in advance,
Antonis.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum