Add cert update command for MacOS

This commit is contained in:
JonMikelV
2018-07-17 10:32:56 -05:00
committed by GitHub
parent ec968729df
commit b46c936ae1
+3 -3
View File
@@ -1,8 +1,8 @@
using Duplicati.Library.Localization.Short;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Generic;
namespace Duplicati.Library.Modules.Builtin.Strings {
internal static class ConsolePasswordInput {
public static string ConfirmPassphrasePrompt { get { return LC.L(@"Confirm encryption passphrase"); } }
@@ -15,7 +15,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}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} https://curl.haxx.se/ca/cacert.pem; cert-sync cacert.pem; rm -f 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"); } }