thanks. We tried that approach as well, but as the OP in [1] states at the end, we now get 2 errors (the same as OP had).
Just to be clear: it's complaining about:
com.google.common.base.Supplier<javax.net.ssl.SSLContext> annotated with @com.google.inject.name.Named(value=untrusted) was bound. ... No implementation for javax.net.ssl.HostnameVerifier annotated with @com.google.inject.name.Named(value=untrusted) was bound. now? ap