KeePass-Favicon-Downloader
KeePass-Favicon-Downloader copied to clipboard
SSL certificate errors
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
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.