Menu

#1567 KeePass 2.34 can't Open WebDAV hosted .kdbx

KeePass_2.x
closed
nobody
None
5
2016-09-18
2016-09-17
No

Whenever I try to open my kdbx using "https://randomDomainName.org/webdav/example.kdbx" like URL, the following KeePass error message pops up
"
Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
The authentication or decryption has failed.
"

In before, the url has been tested and works fine on:
_ keepass windows client
_ keepass2Android client
_ KeeWeb (server hosted) client
And my certificates works fine with my firefox under debian too.
Also, yes accepting deactivating the security by ticking "Accept invalid SSL certificates" does the trick. But I'm not using a password manager to ditch security, and this workaround sounds pretty unsecure to me.

client specs :
KeePass 2.34 with Mono-Complete on Debian Jessie X64

server specs:
Apache 2.14
certificates delivered by letsencrypt

Discussion

  • Aramir Galanodonel

    apologies about the formatting.... Not used to sourceforce (yet)
    More info, here's the error message using -debug option

    "
    https://randomDomainTralala.com/webdav (RandomName)

    Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
    System
    at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown="">:0
    at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown="">:0
    at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown="">:0
    at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown="">:0
    System.Net.WebResponse EndGetResponse(IAsyncResult)</filename></filename></filename></filename>

    Inner:
    The authentication or decryption has failed.
    Mono.Security
    at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown="">:0
    Void AsyncHandshakeCallback(IAsyncResult)
    "</filename>

    Oh and if it's relevant, I'm using "AuthType Basic" for my webDAV setup (because KeeWeb doesn't support "AuthType Digest" yet)

     
  • Aramir Galanodonel

    Ok .... my bad I guess .... Turns out the mono version in debian jessie depos is really really old, like stone age old even according to debian standards.

    Everything runs fine once I updated my Mono (following those instructions : http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives )

    ps : now using Mono version 4.4.2.11

     
  • Paul

    Paul - 2016-09-18

    Thanks for the update.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2016-09-18
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB