<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn" -->

---
title: HTTPS-only for Cloudflare APIs: shutting the door on...
description: Cloudflare is closing all HTTP ports for api.cloudflare.com to ensure all connections are HTTPS, preventing the transmission of sensitive information in...
canonical: https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: HTTPS-only for Cloudflare APIs: shutting the door on cleartext traffic | daily.dev
og:description: Cloudflare is closing all HTTP ports for api.cloudflare.com to ensure all connections are HTTPS, preventing the transmission of sensitive information in...
og:url: https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn
og:image: https://api.daily.dev/og/posts/hJHiKtVBN.png
og:image:alt: HTTPS-only for Cloudflare APIs: shutting the door on cleartext traffic
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTPS-only for Cloudflare APIs: shutting the door on cleartext traffic

**[Cloudflare](https://daily.dev/sources/cloudflare)** · 11 min read · 0 upvotes · 0 comments

## Summary

Cloudflare is closing all HTTP ports for api.cloudflare.com to ensure all connections are HTTPS, preventing the transmission of sensitive information in cleartext and reducing security risks. This move will involve dynamically changing IP addresses and offering customers the option to disable HTTP ports for their websites by the end of 2025. The initiative aims to eliminate the exposure of API keys and tokens in plaintext, enhancing overall security and preventing potential attacks.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.cloudflare.com/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic/>

---

Tags: [#security](https://daily.dev/tags/security), [#webdev](https://daily.dev/tags/webdev), [#cloudflare](https://daily.dev/tags/cloudflare)

[View this post on daily.dev](https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"HTTPS-only for Cloudflare APIs: shutting the door on cleartext traffic","url":"https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn"},"datePublished":"2025-03-20T13:01:42.816Z","dateModified":"2025-03-20T13:02:01.770Z","description":"Cloudflare is closing all HTTP ports for api.cloudflare.com to ensure all connections are HTTPS, preventing the transmission of sensitive information in...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1b72ff5ad7c6ad596ddd6773144db845?_a=AQAEuj9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1b72ff5ad7c6ad596ddd6773144db845?_a=AQAEuj9","isAccessibleForFree":true,"articleSection":"Cloudflare","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Cloudflare","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/38522e1d11354cd6b7af66f9d4316735","url":"https://daily.dev/sources/cloudflare"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/https-only-for-cloudflare-apis-shutting-the-door-on-cleartext-traffic-hjhiktvbn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,webdev,cloudflare","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Cloudflare","item":"https://daily.dev/sources/cloudflare"},{"@type":"ListItem","position":3,"name":"HTTPS-only for Cloudflare APIs: shutting the door on cleartext traffic"}]}
```

