Skip to content

Commit 40bba49

Browse files
author
Tobias Fuhrimann
committed
Add missing partial
1 parent d52beb0 commit 40bba49

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
To enable this configuration, perform the following steps:
2+
3+
1. Add your certificates to your load balancer and configure its listening port. The procedures vary depending on your IaaS.
4+
1. Configure your load balancer to append the `X-Forwarded-For` and `X-Forwarded-Proto` headers to client requests.
5+
6+
<br/>If the load balancer cannot be configured to provide the `X-Forwarded-For` header, the Gorouter will append it in requests forwarded to applications and system components, set to the IP address of the load balancer.
7+
8+
<p class='note'><strong>Note</strong>: If the load balancer accepts unencrypted requests, it <strong>must</strong> provide the X-Forwarded-Proto header. Conversely, if the load balancer cannot be configured to send the X-Forwarded-Proto header, it should not accept unencrypted requests. Otherwise, applications and platform system components that depend on the X-Forwarded-Proto header to reject unencrypted client requests will accept unencrypted requests.</p>
9+
10+
1. Insert the certificate into your deployment manifest for the Gorouter:
11+
1. Use `bosh edit deployment` to open your release manifest for editing.
12+
1. Copy the contents of your certificate file into the `properties.router.ssl_cert` field and the contents of the private key file associated with your certificate into the `properties.router.ssl_key` field. Set `enable_ssl` to `true`.
13+
14+
```
15+
properties:
16+
router:
17+
ssl_cert: |
18+
-----BEGIN CERTIFICATE-----
19+
SSL_CERTIFICATE_SIGNED_BY_PRIVATE_KEY
20+
-----END CERTIFICATE-----
21+
ssl_key: |
22+
-----BEGIN RSA PRIVATE KEY-----
23+
RSA_PRIVATE_KEY
24+
-----END RSA PRIVATE KEY-----
25+
enable_ssl: true
26+
```

0 commit comments

Comments
 (0)