2016-04-04 5 views
1

Ich habe gerade auf Mule 3.7 aktualisiert und bekomme diesen Fehler. Ich verwende die gleiche Keystore-Datei, die ich bei 3.5 verwendet habe. Ich habe nichts in tls-default.conf geändert.Mule keine Cipher Suites gemeinsam

ERROR 2016-04-04 05:55:25,450 [[NEWSI].http.request.dispatch.8443.01 org.mule.exception.DefaultSystemExceptionStrategy: Caught exception in Exception Strategy: no cipher suites in common 
javax.net.ssl.SSLHandshakeException: no cipher suites in common 
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:1.8.0_77] 
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) ~[?:1.8.0_77] 
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) ~[?:1.8.0_77] 
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:292) ~[?:1.8.0_77] 
    at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:1035) ~[?:1.8.0_77] 
    at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:738) ~[?:1.8.0_77] 
    at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221) ~[?:1.8.0_77] 
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) ~[?:1.8.0_77] 
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) ~[?:1.8.0_77] 
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) ~[?:1.8.0_77] 
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) ~[?:1.8.0_77] 
    at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:928) ~[?:1.8.0_77] 
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_77] 
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_77] 
    at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_77] 
    at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) ~[commons-httpclient-3.1.jar:?] 
    at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) ~[commons-httpclient-3.1.jar:?] 
    at org.mule.transport.http.HttpServerConnection.readLine(HttpServerConnection.java:245) ~[mule-transport-http-3.7.0.jar:3.7.0] 
    at org.mule.transport.http.HttpServerConnection.getRequestLine(HttpServerConnection.java:557) ~[mule-transport-http-3.7.0.jar:3.7.0] 
    at org.mule.transport.http.HttpRequestDispatcherWork.run(HttpRequestDispatcherWork.java:67) ~[mule-transport-http-3.7.0.jar:3.7.0] 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_77] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_77] 
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77] 

Dies ist meine httpsConnector Definition in mule-config.xml

<https:connector name="httpsConnector"> 
    <https:tls-client path="keystore.jks" storePassword="1234"/> 
    <https:tls-key-store path="keystore.jks" keyPassword="1234" storePassword="1234"/> 
    <https:tls-server path="keystore.jks" storePassword="1234"/> 
</https:connector> 

Jede Hilfe ist willkommen

+0

Mit welchen Cipher Suites möchten Sie arbeiten? –

+0

SHA256. Ich habe dies im Keystore 'Zertifikat Fingerabdrücke: MD5: B1: 83: 1D: ED: 33: 7F: 5D: AC: 97: B9: 0B: 2F: 5F: 82: F8: 1A SHA1: 58: FE: DB: D0: 0A: 81: 3D: 9A: DC: 31: 35: 27: C6: 01: 9B: A0: CA: 1A: 0D: 6A SHA256: 78: 0F: CB: 4A: 33: 8C: 22: 8A: 24: DA: 47: 4E: 2B: 74: A4: 7D: CF: 04: 1A: 12: 51: 0A: 28: 22: 9D: D2: A1: 45: 39: D4: BA: 01 Name des Signaturalgorithmus: SHA1withRSA Version: 3 ' – steven35

+0

Entschuldigung, ich sehe jetzt, dass alle Cipher Suites standardmäßig in 3.7.0 tls-default.conf aktiviert sind. Verwenden Sie einen HTTP-Listener oder eine HTTP-Anfrage? Verwendet der andere Teil mindestens TLS v1? –

Antwort

1

Versuchen mit Vm Argumente zu debuggen. Damit Sie eine bessere Vorstellung bekommen können. Sie können folgende Argumente verwenden.

-Djavax.net.debug=all 
-Djavax.net.debug=ssl 

Wenn Sie immer noch nicht sicher, was Sie vermissen Paste Sie Namen in der folgenden URL hosten wird es Ihnen die die Suite chiffrieren, dass der Host, den Sie versuchen, eine Verbindung verwendet

https://www.ssllabs.com/