WP Maximize The Power of TLS While Minimizing Your Overhead
WP Maximize The Power of TLS While Minimizing Your Overhead
3 TLS overview
TLS overview
Transport Layer Security (TLS) is the communications backbone of privacy and data
security. It allows users to browse the Internet privately, without exposing their credit
card information or other personal and sensitive information. At Cloudflare, we believe
in helping to build a better Internet, and that includes protecting the privacy of Internet
users with protocols such as TLS.
• Authentication: ensures that parties exchanging data are who they claim to be
• Integrity: verifies that the data has not been forged or tampered with
Cloudflare | Maximize the power of TLS 4
These are likely some of the most common scenarios you will encounter in your
own work with content delivery network (CDN) deployments, including Cloudflare
deployments..
As you’re implementing this for visitors to your domains, consider these options for
securing edge connections with Cloudflare TLS.
• Do not have unique needs for custom certificates, or do not need to select which
Certificate Authorities (CAs) to accept.
• Prefer to reduce the validity period down from the default 90 days (for example,
some organizations with higher security requirements may want their certificate
to only be valid for 2-week cycles); and/or
• Need more flexibility on which CA you’d prefer to use. (See here for a current list
of Cloudflare’s CA partners.)
With Total TLS, automatic issuance with each new hostname created means no
security and privacy gaps for your newly created domains. It also allows you to forgo
the management overhead associated with issuing new TLS certs on top of thinking
about everything that is involved in onboarding new subdomains.
Cloudflare will issue a certificate for each one of your hostnames with per-hostname
certificates, and you can also choose the issuing CA for all the certs. As you
create more subdomains, Cloudflare will always issue a certificate on your behalf
— and renew them when their validity periods are up. Like with other Cloudflare-
managed certificate models, we will renew your certs on your behalf to your security
specifications and in accordance with your preferred CA and validity periods.
Cloudflare | Maximize the power of TLS 8
• Want to ensure there are no security or privacy gaps for any • United Kingdom - 93%
newly created domains.
• Germany - 94%
Automatically back up certificates • Brazil - 95%
In addition to selecting the right solution for reducing certificate
management, it is crucial to ensure security redundancy for your TLS • Mexico - 96%
certificates. An event like a key compromise or CA revocation could
result in a need to immediately re-issue certificates — given that your • Japan - 96%
current certificates will be compromised. For example, in 2021, one
• Indonesia - 96%
of the most popular CAs underwent a revocation, during which this
CA revoked a few thousand certificates. Or, such as in the instance of • Netherlands - 96%
the Heartbleed CVE in 2014, certificates could be compromised by a
vulnerability or other security issue. • India - 97%
Geo Key Manager allows you to restrict the location of your private
keys to only data centers in allowed regions, and can also create
exclusions with rule-based geo-restrictions. For example, your
settings could permit storing keys in the EU and US but exclude
France.
This functionality can be used for storing private keys along with
other data affected by privacy laws.
Cloudflare | Maximize the power of TLS 11
mTLS is an essential tool for ensuring that only authorized clients and devices are
making requests to your application. Some examples of how Cloudflare customers
use it are discussed in more detail below.
Origin Server
Mutual TLS
Managing and securing APIs is top of mind at When these devices make requests to a server,
Cloudflare. In fact, the majority of the dynamic the server should be able to validate which
traffic we see on our global network is API- device the request came from, as well as check
related. With more large enterprises using APIs if the device is authorized to make the request.
for business-critical operations, security leaders Organizations can block any other requests from
and teams are becoming increasingly responsible unauthorized devices. So if someone is trying
for API security. to hack into your application, they can’t make
a request to the web server unless they are
On top of Cloudflare API Gateway capabilities, using an authenticated and identified IoT device.
mTLS also fits into an API security strategy for Additional security measures outside the scope
organizations pivoting to a positive security of mTLS, like bot mitigation, can help identify if
model, or the “deny by default” security posture abusive traffic is stemming from a compromised
we discussed earlier. Again, this means blocking but authenticated device.
all connections except the ones we want to allow
Cloudflare | Maximize the power of TLS 14
By using mTLS to require the Worker to identify the server, and requiring the server
to identify which Worker a request is coming from, you can better protect your origin
servers from data breaches and other attacks.
Further securing the connection between a server and a Worker with mTLS prevents
an unauthorized Worker from receiving sensitive information. With mTLS, developers
can be sure that they are sending data to a trusted, known source.
Allowing a Worker and an origin to verify each other’s identity decreases the
likelihood of attacks between the two. mTLS can prevent attacks such as credential
stuffing, on-path attacks, spoofing, phishing, and more.
• You can leverage our Zero Trust Network Access (ZTNA) service, Cloudflare
Access, and set up token-based authentication by using a pre-shared key and
configuring your Worker to allow or deny access based on the pre-shared key,
presented in the header.
• Alternatively, if you don’t want to expose your client’s identity or require the two
services to speak over HTTP, you can use mTLS authentication for Workers. mTLS
support on Workers is an easy way to manage authentication and identity for
developers building on Workers.
Both methods allow you to lock down authentication on a per-Worker or even per-
request level, for more granularity when it comes to authentication and identification.
Cloudflare | Maximize the power of TLS 15
Customer stories
DHL
DHL, one of the largest shipping and logistics companies in the
world, uses Cloudflare to encrypt all customer communications
to maintain compliance with data privacy laws. “We have zero
tolerance for security breaches,” says Vice President of Digital and
Business Process Optimization Jan De Groot. “We protect customer “Cloudflare helps DHL
data and make sure all communications with our clients are secure.” Parcel protect our
With Cloudflare TLS, DHL Parcel can extend strong encryption to customer data and
its consumer and business-to-business customer communications, client communications,
regardless of which web browser they use. simplifying compliance with
data privacy regulations
Even as attacks rise, DHL Parcel can simplify compliance like GDPR.”
requirements for customer-facing applications who need to comply
with the EU’s General Data Protection Requirements (GDPR) as well Jan De Groot,
as Germany’s even more stringent data protection laws. Vice President of Digital
“Cloudflare helps DHL Parcel protect our customer data and and Business Process
client communications, simplifying compliance with data privacy Optimization
regulations like GDPR,” says de Groot. Read full case study >
Challenge: Ensuring strong security and compliance
SHOPYY
SHOPPY, an e-commerce platform, turns to Cloudflare for the
SSL for SaaS feature, which automates the management of
SSL certificates - from private key creation, protection, domain
validation, issuance, and renewal to re-issuance. Initially, SHOPPY
used a free certificate management tool, resulting in unreliable The use of Cloudflare
certificates and short validity periods. The free tool also required products has cut our
extensive time and labor, requiring SHOPPY to hire additional staffing costs by 60% in
employees to oversee the certification management process. operation and maintenance
alone … Efficiency and
With Cloudflare SSL for SaaS, SHOPPY entrusts all of their cost-effectiveness are
certificate management to Cloudflare, requiring only one employee values that Cloudflare
to maintain the entire process. “The use of Cloudflare products has brought to us as a
has cut our staffing costs by 60% in operation and maintenance customer, and allows
alone,” said founder and CTO Yuanming Chen. “Efficiency and us to provide the same
cost-effectiveness are values that Cloudflare has brought to us as great service to our own
a customer, and allows us to provide the same great service to our customers.”
own customers.”
Yuanming Chen,
Challenge: Upgrade from a homegrown platform to a mature cloud Founder and CTO
offering — that includes reliable full-service certificate hosting
Read full case study >
OneTrust
OneTrust is a popular privacy and compliance service. Over 7,500
businesses worldwide utilize OneTrust’s SaaS solutions to manage
privacy, security, and governance to comply with regulations
such as the CCPA, GDPR, LGPD, PDPA, and ISO27001. OneTrust Advanced Certificates
uses Cloudflare products on approximately 33 top-level domains Manager has simplified
and about 16,000 subdomains, and the company just exceeded 2 the way we manage
petabytes of traffic a month served through the Cloudflare. Thanks certificates across our
to Cloudflare SSL for SaaS, all OneTrust customers have the option many domains, while
of deploying a vanity domain. still allowing us to meet
our strict security
The company also uses Cloudflare to protect their own domains.
requirements.”
Colin Henderson, Head of Information Security at OneTrust says,
“Advanced Certificates Manager has simplified the way we manage Colin Henderson
certificates across our many domains, while still allowing us to Head of Information
meet our strict security requirements. The ability to manage cipher Security
suites, as well as auto-renewal within our parameters, creates for an
available and secure environment.” Read full case study >
• SSL for SaaS - Enables SaaS providers to issue and renew certificates on their
customers’ behalf