I'm not sure this will help, but can you try using the CURL_CA_BUNDLE environment variable to see if that helps?
Ex:
CURL_CA_BUNDLE=/usr/local/share/ca-certificates/cert.crt freshclam
Hi guys,
I have an issue with freshclam.
We are setting up freshclam clients (Debian 11) which are downloading database via private mirror which is using HTTPS. When I tried to use freshclam on my Windows client, it worked, but on my Debian Client, I get error message "ssl peer certificate or ssh
remote key was not ok".
I imported my private mirror's SSL certificate via this method:
cp cert.crt /usr/local/share/ca-certificates/
update-ca-certificates
But even after this, the error still persists.
Is there any way to make this work? I am a beginner in Linux, so I don't really know what to do next.
Thanks