https://bugs.documentfoundation.org/show_bug.cgi?id=147250

            Bug ID: 147250
           Summary: WebDAV SSL not working with self signed CA and host
                    cert
           Product: LibreOffice
           Version: 7.3.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
LO is not able to connect to SSL secured WebDAV instances when the SSL is a
self signed CA and host certificate.
Starting LO from CLI brings:

* STATE: INIT => CONNECT handle 0x55f33adcbb10; line 1789 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* STATE: CONNECT => RESOLVING handle 0x55f33adcbb10; line 1835 (connection #0)
* family0 == v4, family1 == v6
* Trying 192.168.0.150:443…
* STATE: RESOLVING => CONNECTING handle 0x55f33adcbb10; line 1917 (connection
#0)
* Connected to nextcloud.home.arpa (192.168.0.150) port 443 (#0)
* STATE: CONNECTING => PROTOCONNECT handle 0x55f33adcbb10; line 1980
(connection #0)
* GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0
* ALPN, offering h2
* ALPN, offering http/1.1
* Didn’t find Session ID in cache for host HTTPS://nextcloud.home.arpa:443
* STATE: PROTOCONNECT => PROTOCONNECTING handle 0x55f33adcbb10; line 2000
(connection #0)
* SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification failed. CAfile: none CRLfile: none
* multi_done
* The cache now contains 0 members
* Closing connection 0
* Expire cleared (transfer 0x55f33adcbb10)

using WebDAV over http works fine.

WebDAV config:
Host: nextcloud.home.arpa
Port: 443
Secure connection: checked
Label: WebDAV
Root: /remote.php/dav/files/




Steps to Reproduce:
1. generate a CA and a self signed wildcard certificate
2. deploy SSL cert on nextcloud and import the CA as trusted in linux (or
windows, makes no differnce)
3. add WebDAV remote connection to SSL enabled nextcloud instance

Actual Results:
Error Message: Could not establish internet connection to nextcloud.home.arpa

Expected Results:
Let me connect to nextcloud with WebDAV


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.3 / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 16; OS: Linux 5.16; UI render: default; VCL: gtk3
Locale: de-AT (de_AT.UTF-8); UI: en-US
Flatpak
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to