From 18893e8e204dbf097f947d49905edaa0261496cb Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sun, 7 Mar 2021 16:39:41 -0800 Subject: [PATCH] Fix URL to curl in CheckMonoSSL error message. Starting in November 2020, curl.se is the new official home site for the curl project. By default, curl does not follow redirects, so this fixes the URL in the error message and includes the option to follow redirects in case the URL changes again in the future. --- Duplicati/Library/Modules/Builtin/Strings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Modules/Builtin/Strings.cs b/Duplicati/Library/Modules/Builtin/Strings.cs index a20e53451..5be252a65 100644 --- a/Duplicati/Library/Modules/Builtin/Strings.cs +++ b/Duplicati/Library/Modules/Builtin/Strings.cs @@ -17,7 +17,7 @@ namespace Duplicati.Library.Modules.Builtin.Strings { internal static class CheckMonoSSL { public static string Description { get { return LC.L(@"When running with Mono, this module will check if any certificates are installed and suggest installing them otherwise"); } } public static string Displayname { get { return LC.L(@"Check for SSL certificates"); } } - public static string ErrorMessage { get { return LC.L(@"No certificates found, you can install some with one of these commands:{0} cert-sync /etc/ssl/certs/ca-certificates.crt #for Debian based systems{0} cert-sync /etc/pki/tls/certs/ca-bundle.crt #for RedHat derivatives{0} curl -O https://curl.haxx.se/ca/cacert.pem; cert-sync --user cacert.pem; rm cacert.pem #for MacOS{0}Read more: {1}", Environment.NewLine, "http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync"); } } + public static string ErrorMessage { get { return LC.L(@"No certificates found, you can install some with one of these commands:{0} cert-sync /etc/ssl/certs/ca-certificates.crt #for Debian based systems{0} cert-sync /etc/pki/tls/certs/ca-bundle.crt #for RedHat derivatives{0} curl -LO https://curl.se/ca/cacert.pem; cert-sync --user cacert.pem; rm cacert.pem #for MacOS{0}Read more: {1}", Environment.NewLine, "http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync"); } } } internal static class HttpOptions { public static string Description { get { return LC.L(@"This module exposes a number of properties that can be used to change the way http requests are issued"); } }