[
https://issues.apache.org/jira/browse/DIRMINA-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee closed DIRMINA-550.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-M2
Assignee: Trustin Lee
Done.
> Set SslContextFactory.trustManagerFactoryAlgorithmUseDefault and
> keyManagerFactoryAlgorithmUseDefault to true by default.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-550
> URL: https://issues.apache.org/jira/browse/DIRMINA-550
> Project: MINA
> Issue Type: Improvement
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Trivial
> Fix For: 2.0.0-M2
>
>
> Related mailing list thread:
> http://mina.markmail.org/search/?q=sslfilter%20handshake%20failed#query:sslfilter%20handshake%20failed+page:1+mid:s22rkj7brl6dvgqj+state:results
> ----------------
> Hello Mark,
> On Fri, Mar 7, 2008 at 8:45 PM, Mark Renouf <[EMAIL PROTECTED]> wrote:
> > Sorry for the spam... (I hope this is relevant?)
> >
> > I found the difference, in my use of SSLContextFactory, I was not calling:
> >
> > sslContextFactory.setTrustManagerFactoryAlgorithmUseDefault(true);
> > sslContextFactory.setKeyManagerFactoryAlgorithmUseDefault(true);
> >
> > I seriously think these should be the default behavior. If these are
> > not set, and no protocol is set, the factory simply fails to create
> > either a KeyManagerFactory or TrustManagerFactory internally with no
> > warnings or errors. (lines 83 & 98 of SslContextFactory.java in
> > release 2.0.0-M1)
> Your suggestion sounds reasonable.
> ...
> Maarten
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.