* I2PTunnel SSL cleanup, log SSL exceptions as errors to help find cert problems

This commit is contained in:
zzz
2013-10-18 18:37:25 +00:00
parent 255ebe7efb
commit a78d34ab4b
3 changed files with 14 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class I2PSSLSocketFactory {
* Loads certs from
* the ~/.i2p/certificates/ and $I2P/certificates/ directories.
*/
private SSLSocketFactory initSSLContext(I2PAppContext context, boolean loadSystemCerts, String relativeCertPath)
private static SSLSocketFactory initSSLContext(I2PAppContext context, boolean loadSystemCerts, String relativeCertPath)
throws GeneralSecurityException {
Log log = context.logManager().getLog(I2PSSLSocketFactory.class);
KeyStore ks;