How to fix, “Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken. Please double check the installation guides.” Owncloud installation error message

Article purpose: 

How to fix “Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken. Please double check the installation guides.

Using Owncloud 7.01

Symptoms

Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken. Please double check the installation guides

WebDav doesn’t work, file sync doesn’t work.

 

 

How to verify the fix has worked.

Got to User->Admin and the error notice will no longer be displayed indicating that all is well with WebDav.

Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken. Please double check the installation guides

 

Diagnosis

How to trace down the issue and fix it.

Apache Logs might say something like this

 

 [warn] RSA server certificate wildcard CommonName (CN) `*.host.com' does NOT match server name!?
 [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

 

The own cloud logs, located at this path

/data/owncloud.log

Might contain entries like these

{“app”:”core”,”message”:”isWebDAVWorking: NO – Reason: [CURL] Error while making request: SSL: certificate subject name ‘*host.com’ does not match target host name ‘host.com’ (error code: 51) (Sabre_DAV_Exception)”,”level”:2,”time”:”}

 

Remedy

Purchase and install SSL certificate and apply to the web host which is serving the OwnCloud pages.

 

How to fix “Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken. Please double check the installation guides.