Step 1: Use OpenSSL to produce the keys that are used to secure your site. These keys are used when encrypting and decrypting the traffic to your secure site.
The chronyd command lets you check the time by which your system clock is off. If you run a chronyd command without installing the utility first, you will get the following message:
Please install the Chrony utility as follows:
1
sudo apt install chrony
You can then use the following command to see how much your time varies from the internet server. The “System clock wrong by” line in the output indicates this thing.
1
sudo chronyd-Q
You can also synchronize the system time and see the “System clock wrong by” information in one go through the following command:
1
sudo chronyd-q
In the following example, you can see that when I first ran the chronyd -q command, my system was off by 95.9 seconds. After running the command, my internet time was reset and that can be observed when I re-ran the command. This time my system clock is only off by -0.001446 seconds which is an ignorable difference.