Skip to content

Commit cc1ccee

Browse files
committed
Update README to make it timeless, so to speak
1 parent 232fa7e commit cc1ccee

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

README

+3-17
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ invoke tlsdate to keep the clock in sync. Start it like so:
1212

1313
/etc/init.d/tlsdate start
1414

15+
1516
Here is an example an unprivileged user fetching the remote time:
1617

1718
% tlsdate -V -n -H encrypted.google.com
@@ -27,23 +28,7 @@ clock and printing it:
2728

2829
Here is an example with a custom host and custom port without verification:
2930

30-
% sudo tlsdate -v --skip-verification -p 80 -H rgnx.net
31-
V: tlsdate version 0.0.6
32-
V: We were called with the following arguments:
33-
V: disable SSL certificate check host = rgnx.net:80
34-
WARNING: Skipping certificate verification!
35-
V: time is currently 1366419507.456647065
36-
V: time is greater than RECENT_COMPILE_DATE
37-
V: using TLSv1_client_method()
38-
V: Using OpenSSL for SSL
39-
V: opening socket to rgnx.net:80
40-
V: Certificate verification skipped!
41-
V: public key is ready for inspection
42-
V: key type: EVP_PKEY_RSA
43-
V: keybits: 1024
44-
V: key length appears safe
45-
V: server time 1366419508 (difference is about -1 s) was fetched in 338 ms
46-
V: setting time succeeded
31+
% sudo tlsdate --skip-verification -p 80 -H rgnx.net
4732

4833
Here is an example where a system may not have any kind of RTC at boot. Do the
4934
time warp to restore sanity and do so with a leap of faith:
@@ -59,3 +44,4 @@ HTTP services:
5944
% sudo tlsdate -V -l -t -w
6045
Wed Oct 30 18:08:46 CET 2013
6146

47+

0 commit comments

Comments
 (0)