[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/time-services/roughtime/ [Back]  [Original]

Roughtime Cloudflare Time Services docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /Time Services
  3. /Roughtime

Roughtime

Last updated Apr 24, 2026Copy as MarkdownView as MarkdownAgent setup
OverviewBackgroundNext steps

Roughtime is a simple, flexible, and secure authenticated time protocol developed by Google.

Background

Endpoints on the Internet often synchronize their clocks using the Network Time Protocol (NTP). NTP provides precise synchronization, but is frequently deployed without a means of authentication. This is due to a combination of issues .

As a result, a man-in-the-middle attacker can easily influence a victims clock. By moving them back in time, the attacker can, for example, force a victim to accept an expired (and possibly compromised) TLS certificate or session ticket.

For many applications, precise network time is not essential. It is sufficient to have accurate time to mitigate these kinds of attacks, such as within 10 seconds of real time. This observation is the primary motivation behind Roughtime.

Next steps

For more technical details on Roughtime, refer to the introductory blog post .

To get started, refer to Get the Roughtime. For more practical guidance on using the Roughtime, refer to our how-to guide.

PreviousNetwork Time SecurityNextGet the Roughtime

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page