Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freshclam on windows SSL peer certificate or SSH remote key not found #404

Closed
clamavuser opened this issue Dec 20, 2021 · 3 comments
Closed

Comments

@clamavuser
Copy link

Describe the bug

When running freshclam against database.clamav.net for daily.cvd, the error is reported : SSL peer certificate or SSH remote key not found

How to reproduce the problem

execute freshclam.exe on windows

Checking configuration files in D:\ClamAV

Config file: clamd.conf

LogFile = "D:\ClamAV\logs\clamd.txt"
LogFileMaxSize = "5242880"
LogTime = "yes"
LogClean = "yes"
LogRotate = "yes"
DatabaseDirectory = "D:\ClamAV\database"
TCPSocket = "3310"
MaxConnectionQueueLength = "20000"
MaxThreads = "100"
ReadTimeout = "10"
CommandReadTimeout = "5"
SendBufTimeout = "200"
MaxQueue = "200"
IdleTimeout = "5"
CrossFilesystems disabled
SelfCheck = "10000"
ExitOnOOM = "yes"

Config file: freshclam.conf

LogTime = "yes"
LogRotate = "yes"
UpdateLogFile = "D:\ClamAV\logs\freshclam.txt"
Checks = "24"
DatabaseMirror = "db.us.clamav.net"

clamav-milter.conf not found

Software settings

Version: 0.104.1
Optional features supported: MEMPOOL AUTOIT_EA06 BZIP2 LIBXML2 PCRE2 JSON RAR

Database information

Database directory: D:\ClamAV\database
WARNING: freshclam.conf and clamd.conf point to different database directories
Total number of signatures: 0

Platform information

uname: Microsoft Windows Server 6.2 SP0.0 Build 9200
OS: Windows, ARCH: AMD64, CPU: AMD64
zlib version: 1.2.11 (1.2.11), compile flags: 65
platform id: 0x10058d8d080000000000077c

Build information

Microsoft Visual C++: (0.7.124)
sizeof(void*) = 8
Engine flevel: 141, dconf: 141

Attachments

If applicable, add screenshots to help explain your problem.

If the issue is reproducible only when scanning a specific file, attach it to the ticket.

@micahsnyder
Copy link
Contributor

Freshclam.exe on Windows uses the system certificate store for the CA certificates to verify the TLS connection to Cloudflare, our CDN for serving the signature databases.

Cloudflare's certs are signed by the Baltimore CyberTrust Root CA, which should appear in your "Rusted Root Certificate Authorities" tab under Internet Option > Content > Certificates.

Can you check if you have any issues with the certificate when you navigate to https://www.cloudflare.com/ with either Internet Explorer or Edge?

@clamavuser
Copy link
Author

clamavuser commented Dec 21, 2021 via email

@micahsnyder
Copy link
Contributor

That's great to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants