BackendException: SSL failed: [SSL: CERTIFICATE_VERIFY_FAILED]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
httplib2 |
New
|
Undecided
|
Unassigned |
Bug Description
duplicity 0.7.11
python 2.7.13
When trying to use duplicity with webdavs I get the following error:
BackendException: SSL failed: [SSL: CERTIFICATE_
I tried what is mentioned in "Note on Ssl Certificate Verification" (https:/
--ssl-cacert-file /etc/duplicity/
and
--ssl-cacert-path /etc/duplicity
and
-ssl-no-
and I also copied the file to
~/.duplicity/
~/duplicity_
/etc/duplicity/
Nothing worked, still the same message.
I found this thread
https:/
in the end they suggested to use lftp+webdavs instead of webdavs, this
also worked for me. Any ideas why webdavs only does not work?
If something has been deprecated it should be added to the doc.
affects: | duplicity → httplib2 |
Same issue on current stable 0.7.18
I had a look at the source (webdavbackend.py) and the parameter check-certifica te is working as expected.
--ssl-no-
The exception is thrown in _list
https:/ /bazaar. launchpad. net/~duplicity- team/duplicity/ 0.7-series/ view/head: /duplicity/ backends/ webdavbackend. py#L308
The --ssl-no- check-certifica te option
https:/ /bazaar. launchpad. net/~duplicity- team/duplicity/ 0.7-series/ view/head: /duplicity/ backends/ webdavbackend. py#L190
creates a httplib. HTTPSConnection instead of a VerifiedHTTPSCo nnection
but the error happens anyway. Are the certificates checked anyway?