Fix the date
If the date is not correct in the Raspberry Pi, HTTPS websites might not work.
Here is how to fix it (adapt the date to the current one):
Open a terminal and type the following command:
sudo date --set="2 OCT 2006 18:00:00"
Or you can also try:
sudo hwclock --set --date="2011-04-19 20:45:05" --localtime
Or even another way:
- Open http://mirrordirector.raspbian.org/raspbian/pool/main/n/ntp/ and download the latest version of
ntpdate
. The file should look likentpdate_4.2.6.p5+dfsg-7+deb8u2_armhf.deb
(download the file with the latest version) - Update the date:
sudo ntpdate ntp.ubuntu.com
Author: Pierre HUBERT