-
Describe the bug
An option appears to "Try again", but this option makes the error vanish, nothing is tried again. I am the web hosting service provider in this case, but in the absence of any error message, there is no way I can assist. To Reproduce
Expected behavior Desktop (please complete the following information):
Log Files Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 26 comments
-
What I do notice on the server side is that when the "connect" button is pressed, mountain duck makes an attempt to connect to the server ignoring the path specified (/ is attempted instead) and ignoring the client certificate specified (the connection is made without a certificate). |
Beta Was this translation helpful? Give feedback.
-
Please try with the latest snapshot build 4.13.1.20529. |
Beta Was this translation helpful? Give feedback.
-
Do you have a link to the snapshot download? Google is not helping. |
Beta Was this translation helpful? Give feedback.
-
Choose Preferences → Update → Snapshot Builds. |
Beta Was this translation helpful? Give feedback.
-
Just tried the snapshot build, no change in behaviour. The "Interoperability failure" message still appears, and there is still no error message saying what mountain duck thought was wrong. |
Beta Was this translation helpful? Give feedback.
-
Can you get the debug log from Preferences → Connection → Log and send it to our support team. |
Beta Was this translation helpful? Give feedback.
-
Digging into the debug log, we see the following error:
Google finds the following person with the problem, who solved it be upgrading their JDK: Here is the bug with Oracle: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8257606 Looks like upgrading the JDK will fix this. |
Beta Was this translation helpful? Give feedback.
-
Can you confirm you can reproduce this with Cyberduck for Windows. I assume this is not reproducible with Cyberduck for macOS where we bundle a later JRE. |
Beta Was this translation helpful? Give feedback.
-
Not sure as we are bundling 8u312b07 as of 1b90d74. |
Beta Was this translation helpful? Give feedback.
-
References
|
Beta Was this translation helpful? Give feedback.
-
Trying it on Windows with a smartcard - fail. Trying it on MacOS with a client cert in the keychain - success. |
Beta Was this translation helpful? Give feedback.
-
Just tried v4.13.2 on Windows, no luck. |
Beta Was this translation helpful? Give feedback.
-
Tried most recent snapshot on Windows, still no luck. Is there any news? |
Beta Was this translation helpful? Give feedback.
-
We will update this ticket when we have any news. |
Beta Was this translation helpful? Give feedback.
-
@minfrin I'm not quite sure that this issue is related to the referred JDK bugs as I can see that there is an issue signing the
Do you have the client certificate from the macOS keychain available on Windows for testing? I assume that this client cert would also work on Windows. |
Beta Was this translation helpful? Give feedback.
-
It is the exception above the one above, looks like this:
The client certificate on the Mac and the one on Windows are both issued the same way, the certificate on the Mac works, the certificate on Windows doesn't. When connecting to an older RHEL6 server, both Windows and Mac work find with the same certificates. Connecting to RHEL8, it breaks on WIndows only. I have been told that the Mac binary is shipped with a new JDK, while Windows is shipped using an old JDK. The old JDK has the java bug unfixed. |
Beta Was this translation helpful? Give feedback.
-
Interesting
Any chance to post the algorithms used in your client certificate?
|
Beta Was this translation helpful? Give feedback.
-
I asked for the steps needed to work around the Java bug, and someone very kindly gave a detailed explanation: https://security.stackexchange.com/a/267021/133532 I just managed to test with the reduced range of ciphers as recommended with all PSS removed, and Mountain Duck now successfully connects without crashing, on Windows, using the smartcard and certificate on board.
We need this to work without the workaround. |
Beta Was this translation helpful? Give feedback.
-
I have setup a Rocky 9 WebDAV server requiring a client certificate. With the default configuration I'm able to successfully login with Cyberduck 8.5.2 on Windows. Tried to restrict to TLSv1.2 in
|
Beta Was this translation helpful? Give feedback.
-
Still asking for this to be able to generate keys and certificates with the same parameters for testing. |
Beta Was this translation helpful? Give feedback.
-
Client certs are as follows:
Make sure you test with Mountain Duck, not Cyberduck, and make sure you use the current shipped production version of the JVM in Mountain Duck, not a newer JDK in a dev environment. New JDKs have fixed this bug, and you're shipping the newer JDK in Mountain Duck for Mac. I believe this is why Mac works, but Windows doesn't. |
Beta Was this translation helpful? Give feedback.
-
In addition, I understand that TLSv1.3 forces the need for PSS, while with TLSv1.2 is negotiated. If you force it to TLSv1.3 on the server side it should always fail. |
Beta Was this translation helpful? Give feedback.
-
No luck with reproducing. As initially mentioned I'm not quite sure that the issue is the JDK we are using. (Btw, on Windows it's a IKVM converted JDK (to .NET IL) we use and there is no connection to any already installed JDK). As the underlying error is |
Beta Was this translation helpful? Give feedback.
-
This is the exact bug that's fixed in the JDK. Older JDKs are trying to announce support for RSA-PSS in error where it is not supported. After the JDK fix is applied (linked at the top of this ticket) the JDK no longer announces support RSA-PSS, there is no attempt to negotiate it, and everything works as it should. Your IKVM converted JDK will be based on a specific version of Java, can you confirm what that is? |
Beta Was this translation helpful? Give feedback.
-
As mentioned by @dkocher it's 8.0.312.b07, also refer to https://github.com/iterate-ch/ikvm/releases/tag/8.0.312.b07-8. This version has support for RSA-PSS and it's completely fine to request such a signature from your smart card. |
Beta Was this translation helpful? Give feedback.
-
Got the confirmation through direct support for the assumption that the smart card does not have support for RSA-PSS. The updated version v2.2.7RC1 of the Aventra driver solves the problem. |
Beta Was this translation helpful? Give feedback.
Got the confirmation through direct support for the assumption that the smart card does not have support for RSA-PSS. The updated version v2.2.7RC1 of the Aventra driver solves the problem.