tools/ci/debians_disable_outdated_ssl_cert
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | # "Recipe" from https://superuser.com/a/1679332 (thanks @jwodder) |
| 4 | # to mitigate https://github.com/datalad/datalad/issues/6026 |
| 5 | |
| 6 | if hash update-ca-certificates; then |
| 7 | sudo sed -i -e 's,^\(mozilla/DST_Root_CA_X3.crt\),!\1,g' /etc/ca-certificates.conf |
| 8 | sudo update-ca-certificates |
| 9 | fi |