Здравствуйте.
Был сайт на Ubuntu Server 16.04 - там все работало.
Перешел на 20.04 один скрипт не хочет работать. Он написан на bash, делает бекап MYSQL и curl закачивал на Яндекс.Диск.
А теперь закачивать не хочет. Ругается
Trying 213.180.204.148:443...
* TCP_NODELAY set
* Connected to webdav.yandex.ru (213.180.204.148) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=RU; L=Moscow; OU=ITO; O=Yandex LLC; CN=webdav.yandex.com
* start date: Sep 3 11:26:35 2021 GMT
* expire date: Mar 4 00:00:00 2022 GMT
* subjectAltName: host "webdav.yandex.ru" matched cert's "webdav.yandex.ru"
* issuer: C=RU; O=Yandex LLC; OU=Yandex Certification Authority; CN=Yandex CA
* SSL certificate verify ok.
* Server auth using Basic with user 'admin@*ю*'
> OPTIONS /backups/ HTTP/1.1
> Host: webdav.yandex.ru
> Authorization: Basic YWRtaW5Ac2tp6MzI3NjgxMTUwNA==
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Date: Sat, 11 Dec 2021 12:19:15 GMT
< Yandex-Cloud-Request-ID: dav-e996c7b9dd1e5bebcd5-ttkaxz5ehpru3bz4
< Yandex-Uid: 0
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="Yandex.Disk"
< Content-Length: 0
< Server: Jetty(9.4.11.v20180605)
Это побеждаемо?