Hi,
I just tried to connect to a SSL secured website with an untrusted certificate.
This is only possible, if you import the certificate or change the security
provider to a dummy implementation.
I tried to change the security provider:
Security.setProperty("ssl.SocketFactory.provider",
"sslsecurity.DummySSLSocketFactory");
The class sslsecurity.DummySSLSocketFactory is part of the buildSrc.
Unfortunately, it does not work. I just get the following output from gradle:
20:55:57.676 [main] WARN org.gradle.api.logging.LogLevel - Server
access Error: java.lang.ClassNotFoundException:
sslsecurity.DummySSLSocketFactory url=https://[...]
I do not know what happened here. I know from other tests, that the classpath
for IVY includes the classes from the buildSrc directory. Has anyone else tried
to change the provider or an idea what is going on there?
Kind regards
Matthias
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email