directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-2185) java.lang.IllegalArgumentException: TLSV1.2
Date Mon, 27 Mar 2017 07:08:41 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942754#comment-15942754
] 

Emmanuel Lecharny commented on DIRSERVER-2185:
----------------------------------------------

I think this is a bug in Studio : if you select 'TLS V1.2', it stores {{TLSV1.2}} in the configuration
instead of {{TLSv1.2}}, which is the constant known by Java.

You should be able to change the config file manually to switch to the correct cased value.

We have to fix that in Studio.

> java.lang.IllegalArgumentException: TLSV1.2
> -------------------------------------------
>
>                 Key: DIRSERVER-2185
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2185
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0-M23
>         Environment: ubuntu 16.04
> oracle java :1.8.0_121. for apache ds AND for eclipse/apache directory studio
>            Reporter: GaƩtan QUENTIN
>
> following this tutorial, i tried to set secure connexion with startTLS http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html
> when using apache directory studio 20161101M12, i can't connect to the server.
> I get this log:
> org.apache.mina.core.filterchain.IoFilterLifeCycleException: onPreAdd(): sslFilter:SslFilter
in (0x00000003: nio socket, server, /10.8.0.6:45058 => /172.20.10.132:10636)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:383)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(DefaultIoFilterChain.java:189)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFilterChain(DefaultIoFilterChainBuilder.java:496)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(AbstractPollingIoProcessor.java:504)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSessions(AbstractPollingIoProcessor.java:479)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:68)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1088)
>         at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: TLSV1.2
>         at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187)
>         at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
>         at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
>         at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2081)
>         at org.apache.mina.filter.ssl.SslHandler.init(SslHandler.java:180)
>         at org.apache.mina.filter.ssl.SslFilter.onPreAdd(SslFilter.java:438)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:381)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message