Einen Überblick über das Administrationstool KeyHelp der Keyweb AG und dessen Download gibt es auf https://www.keyhelp.de

Dieses Forum soll es interessierten Benutzern ermöglichen, sich über KeyHelp auszutauschen und Hilfe bei Problemen zu finden.

Backups using WebDAV  [SOLVED]

For questions about the usage of KeyHelp and the configuration of it services.
Antworten
Benutzeravatar
gusarg81
Beiträge: 21
Registriert: So 18. Jul 2021, 02:20
Wohnort: Argentina
Kontaktdaten:

Backups using WebDAV

Beitrag von gusarg81 »

Hi,

I am trying to setup a Backup repository using WebDav (in this case, with installed Nextcloud in remote server), but gives me this error:

Failed to connect to repository storage.
ERROR : Attempt 1/1 failed with 1 errors and: Update mkParentDir failed: Mkcol "https://home.ddns.gdnet.ar/nextcloud/re ... t_Backups/": x509: certificate signed by unknown authority
Failed to touch: Update mkParentDir failed: Mkcol "https://home.ddns.gdnet.ar/nextcloud/re ... t_Backups/": x509: certificate signed by unknown authority
Just in case, that domain uses LetsEncrypt cert.

Any ideas? Thanks.
Benutzeravatar
Alexander
Keyweb AG
Beiträge: 2204
Registriert: Mi 20. Jan 2016, 02:23

Re: Backups using WebDAV  [SOLVED]

Beitrag von Alexander »

Hello,

your server probably not have the latest version of CA certificates installed.
You may want to try to update your local CA certificates with the following command.

Code: Alles auswählen

update-ca-certificates

Furthermore, your certificate chain on your server seems to be incomplete:
https://www.ssllabs.com/ssltest/analyze ... Results=on
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Benutzeravatar
gusarg81
Beiträge: 21
Registriert: So 18. Jul 2021, 02:20
Wohnort: Argentina
Kontaktdaten:

Re: Backups using WebDAV

Beitrag von gusarg81 »

Hi!

Thanks for the tip. For future references, I've fixed this by adding this line to the apache virtualhost corresponding to home.ddns.gdnet.ar:
SSLCertificateChainFile /etc/letsencrypt/live/home.ddns.gdnet.ar/chain.pem
So, full SSL line I've used now is:
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/home.ddns.gdnet.ar/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/home.ddns.gdnet.ar/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/home.ddns.gdnet.ar/chain.pem
Now adding WebDAV backup repository works.

Thanks again!
Antworten