All,

I just wanted to follow up in case anyone else had this issue.  It was due to an outdated libcurl version.  Once I updated that and recompiled ClamAV, freshclam started working again.

Thanks for the guidance and pointing me on where to look!


On 11/4/2020 11:04, Micah Snyder (micasnyd) wrote:
Hi Shane,

My suspicion is that the version of libcurl that freshclam is compiled with 
can't handle TLS v1.2.

Which OS are you on? Can you provide the output of clamconf?

-Micah

On 11/4/20, 8:05 AM, "clamav-users on behalf of Shane Wise via clamav-users" 
<[email protected] on behalf of [email protected]> wrote:

     I am getting the below error when I run Freshclam and haven't been able
     to find any answers.  I have tried both version 0.102.4 and 0.103.0 and
     receive the same error.  Any help would be appreciated. The verbose log
     is below:

     Downloading database patch # 25972...
     Wed Nov  4 10:00:41 2020 -> *Retrieving
     https://database.clamav.net/daily-25972.cdiff
     Wed Nov  4 10:00:41 2020 -> *downloadFile: Download source:
     https://database.clamav.net/daily-25972.cdiff
     Wed Nov  4 10:00:41 2020 -> *downloadFile: Download destination:
     ./clamav-ddf224abf1b1f4329556c8f1b8a93a46.tmp
     * About to connect() to database.clamav.net port 443 (#2)
     *   Trying 2606:4700::6810:da54...
     * Adding handle: conn: 0xea6610
     * Adding handle: send: 0
     * Adding handle: recv: 0
     * Curl_addHandleToPipeline: length: 1
     * - Conn 2 (0xea6610) send_pipe: 1, recv_pipe: 0
     * Connected to database.clamav.net (2606:4700::6810:da54) port 443 (#2)
     * successfully set certificate verify locations:
     *   CAfile: /usr/share/curl/ca-bundle.crt
        CApath: none
     * Unknown SSL protocol error in connection to database.clamav.net:443
     * Closing connection 2
     Wed Nov  4 10:00:41 2020 -> ^Download failed (35) Wed Nov  4 10:00:41
     2020 -> ^ Message: SSL connect error
     Wed Nov  4 10:00:41 2020 -> ^getpatch: Can't download daily-25972.cdiff
     from https://database.clamav.net/daily-25972.cdiff
     Wed Nov  4 10:00:41 2020 -> ^Incremental update failed, trying to
     download daily.cvd
     Wed Nov  4 10:00:41 2020 -> *Retrieving
     https://database.clamav.net/daily.cvd
     Wed Nov  4 10:00:41 2020 -> *downloadFile: Download source:
     https://database.clamav.net/daily.cvd
     Wed Nov  4 10:00:41 2020 -> *downloadFile: Download destination:
     /var/lib/clamav/tmp.65589147da/clamav-55d2f46d2f16744d03cff5fe18e1c035.tmp
     * About to connect() to database.clamav.net port 443 (#3)

     _______________________________________________

     clamav-users mailing list
     [email protected]
     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



_______________________________________________

clamav-users mailing list
[email protected]
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

Reply via email to