KeePass-Favicon-Downloader icon indicating copy to clipboard operation
KeePass-Favicon-Downloader copied to clipboard

SSL certificate errors

Open maneamarius opened this issue 7 years ago • 1 comments

Hi,

I'm having issues with the plugin on Gentoo Linux.. it complains about SSL certificate errors. Is it possible to ignore the certificate errors?

Something like this should do it: -- insert this on line 450 in file KeePassFaviconDownloaderExt.cs ((HttpWebRequest)webreq).ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;

If not too much to ask, could you please test it works and make this change?

thanks a lot, Marius

maneamarius avatar May 03 '17 03:05 maneamarius

One should not just ignore/circumvent certificate issues!

Anyways, I used IOConnection API from KeePass to obey system-wide settings. Then certificate checking can be disabled via Tools > Options > Advanced > File Input/Output Connections > Uncheck Accept invalid SSL certificates (self-signed, expired, ...). Just run make on Linux to create a plgx. This can then be used under all OSes.

Note that this patch is work in progress and needs some more testing, exception handling and so on.

darkdragon-001 avatar Oct 01 '18 23:10 darkdragon-001