Skip to content

Commit d6a92dd

Browse files
committed
[release notes] mention apache reverse proxy to re-enable SSL
1 parent 9aa9099 commit d6a92dd

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/release-notes.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,36 @@ Then, to tunnel a SSL connection on 28332 to a RPC server bound on localhost on
2727

2828
It can also be set up system-wide in inetd style.
2929

30+
Another way to re-attain SSL would be to setup a httpd reverse proxy. This solution
31+
would allow the use of different authentication, loadbalancing, on-thy-fly compressing and
32+
caching. A sample config for apache2 could look like:
33+
34+
Listen 443
35+
36+
NameVirtualHost *:443
37+
<VirtualHost *:443>
38+
39+
SSLEngine On
40+
SSLCertificateFile /etc/apache2/ssl/server.crt
41+
SSLCertificateKeyFile /etc/apache2/ssl/server.key
42+
43+
<Location /bitcoinrpc>
44+
ProxyPass http://127.0.0.1:8332/
45+
ProxyPassReverse http://127.0.0.1:8332/
46+
# optional enable digest auth
47+
# AuthType Digest
48+
# ...
49+
50+
# optional bypass bitcoind rpc basic auth
51+
# RequestHeader set Authorization "Basic <hash>"
52+
# get the <hash> from the shell with: base64 <<< bitcoinrpc:<password>
53+
</Location>
54+
55+
# Or, balance the load:
56+
# ProxyPass / balancer://balancer_cluster_name
57+
58+
</VirtualHost>
59+
3060
Random-cookie RPC authentication
3161
---------------------------------
3262

0 commit comments

Comments
 (0)