HTTPS Protocols
Aptible offer a few ways to configure the protocols used by your HTTP(S) Endpoints for HTTPS termination through a set of Configuration variables. These are the same variables as can be defined for TLS Endpoints. If set once on the application, they will apply to all TLS and HTTPS endpoints for that application.
SSL_PROTOCOLS_OVERRIDE
: Control SSL / TLS Protocols
The SSL_PROTOCOLS_OVERRIDE
variable lets you customize the SSL Protocols allowed on your Endpoint.
Available protocols depend on your Endpoint platform:
- For ALB Endpoints: you can choose from these 8 combinations:
TLSv1 TLSv1.1 TLSv1.2
(default)TLSv1 TLSv1.1 TLSv1.2 PFS
TLSv1.1 TLSv1.2
TLSv1.1 TLSv1.2 PFS
TLSv1.2
TLSv1.2 PFS
TLSv1.2 PFS TLSv1.3
(see note below comparing ciphers toTLSv1.2 PFS
)TLSv1.3
PFS
ensures your Endpoint’s ciphersuites support perfect forward secrecy on TLSv1.2 or earlier. TLSv1.3 natively includes perfect forward secrecy.
Note for TLSv1.2 PFS TLSv1.3
, compared to ciphers for TLSv1.2 PFS
, this adds TLSv1.3
ciphers and omits the following:
- ECDHE-ECDSA-AES128-SHA
- ECDHE-RSA-AES128-SHA
- ECDHE-RSA-AES256-SHA
- ECDHE-ECDSA-AES256-SHA
- For Legacy ELB endpoints: the format is Nginx’s ssl_protocols directive. Pay very close attention to the format! A bad variable will prevent the proxies from starting.
SSL_CIPHERS_OVERRIDE
: Control ciphers
This variable lets you customize the SSL Ciphers used by your Endpoint.
The format is a string accepted by Nginx for its ssl_ciphers directive.
Pay very close attention to the required format, as here again a bad variable will prevent the proxies from starting.
DISABLE_WEAK_CIPHER_SUITES
: an opinionated policy for ELBs
Setting this variable to true
(it has to be the exact string true
) causes your Endpoint to stop accepting traffic over the SSLv3
protocol or using the RC4
cipher.
We strongly recommend setting this variable to true
on all ELB Endpoints nowadays. Or, better, yet, upgrade to ALB Endpoints, where that’s the default.
Examples
Set SSL_PROTOCOLS_OVERRIDE
Set DISABLE_WEAK_CIPHER_SUITES
Was this page helpful?