Skip to content

Commit

Permalink
install-from-source(mariner): ensure that CA certificates are installed
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dscho committed Oct 21, 2024
1 parent 89adece commit 7b721ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/Packaging.Linux/install-from-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ case "$distribution" in
$sudo_cmd tdnf update -y

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

ensure_dotnet_installed
;;
Expand Down

0 comments on commit 7b721ea

Please sign in to comment.