[clamav-users] freshclam can't download updates due to SSL issue

Micah Snyder (micasnyd) micasnyd at cisco.com
Tue Jan 5 01:37:01 UTC 2021


Chris,

Is the date/time correct on your machine?  You can get this error if the time is incorrect.

Eg if I set my date back to 2012:

❯ sudo date 010417352012
[sudo] password for micasnyd:
Wed Jan  4 17:35:00 PST 2012

❯ ~/.clamav/bin/freshclam
ClamAV update process started at Wed Jan  4 17:35:09 2012
daily database available for update (local version: 25990, remote version: 26038)
Current database is 48 versions behind.
Downloading database patch # 25991...
WARNING: Download failed (60) WARNING:  Message: SSL peer certificate or SSH remote key was not OK
WARNING: getpatch: Can't download daily-25991.cdiff from https://database.clamav.net/daily-25991.cdiff
…

-Micah


From: clamav-users <clamav-users-bounces at lists.clamav.net> On Behalf Of Joel Esler (jesler) via clamav-users
Sent: Wednesday, December 23, 2020 4:11 PM
To: ClamAV users ML <clamav-users at lists.clamav.net>
Cc: Joel Esler (jesler) <jesler at cisco.com>
Subject: Re: [clamav-users] freshclam can't download updates due to SSL issue

Nothing has changed on our end.
Sent from my  iPhone


On Dec 23, 2020, at 13:57, Chris via clamav-users <clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>> wrote:

Hello

I'm using ClamAV version 0.103.0 and recently whenever I try to update ClamAV with freshclam, for some reason it spits out this error:

WARNING: Download failed (60) WARNING:  Message: SSL peer certificate or SSH remote key was not OK
WARNING: getpatch: Can't download daily-26002.cdiff from https://database.clamav.net/daily-26002.cdiff

I Googled for some answers on this and a few of the answers said to make sure my "ca-certificates" were updated.  For the record my OS is Linux Devuan Beowulf (Debian 10) and it has the latest version of ca-certificates available (20200601).  This also includes ca-certificates-java (20190405) and ca-certificates-mono (5.18.0.240+dfsg-3).  Running "update-ca-certificates" ran successfully, but I'm still getting that above error when updating ClamAV.

This never happened before, as running freshclam always updated the definitions without any issues.  Is it something on my end I need to do or is it an issue with ClamAV?

Thanks
--
Chris Garcia
https://supersamplestar.bandcamp.com/
https://www.bitchute.com/channel/supersamplestar/
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

_______________________________________________

clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210105/0c9ed60b/attachment.htm>


More information about the clamav-users mailing list