You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2008/03/12 08:14:46 UTC
[jira] Created: (DIRMINA-550) Set
SslContextFactory.trustManagerFactoryAlgorithmUseDefault and
keyManagerFactoryAlgorithmUseDefault to true by default.
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
Priority: Trivial
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 <ma...@gmail.com> 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.
[jira] Closed: (DIRMINA-550) Set
SslContextFactory.trustManagerFactoryAlgorithmUseDefault and
keyManagerFactoryAlgorithmUseDefault to true by default.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ 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 <ma...@gmail.com> 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.