Skip to content

Commit 7b721ea

Browse files
committed
install-from-source(mariner): ensure that CA certificates are installed
This seems to be necessary to avoid problems with the `curl` calls when `dotnet-install.sh` tries to download the `dotnet-sdk` TAR archive: dotnet-install: Attempting to download using aka.ms link https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.403/dotnet-sdk-8.0.403-linux-x64.tar.gz curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 89adece commit 7b721ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/Packaging.Linux/install-from-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ case "$distribution" in
228228
$sudo_cmd tdnf update -y
229229

230230
# Install dotnet/GCM dependencies.
231-
install_packages tdnf install "curl git krb5-libs libicu openssl-libs zlib findutils which bash awk"
231+
install_packages tdnf install "curl ca-certificates git krb5-libs libicu openssl-libs zlib findutils which bash awk"
232232

233233
ensure_dotnet_installed
234234
;;

0 commit comments

Comments
 (0)