https ssl password autogenerated

This commit is contained in:
Max
2024-09-11 21:23:15 +02:00
parent 9d3286e240
commit b7488d22a9
2 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -31,7 +31,7 @@ Error message: {0}", error); }
public static string WebserverPortDescription { get { return LC.L(@"The port the webserver listens on. Multiple values may be supplied with a comma in between."); } }
public static string WebserverUseHTTPSDescription { get { return LC.L(@"If provided, determine whether to use HTTPS. If not provided, compatibility mode determine based on certificate presence about usage of HTTPS."); } }
public static string WebserverCertificateFileDescription { get { return LC.L(@"The certificate and key file in PKCS #12 format the webserver use for SSL."); } }
public static string WebserverCertificatePasswordDescription { get { return LC.L(@"The password for decryption of certificate PKCS #12 file. USE STRONG PASSWORD, CERTIFICATE FILE WILL BE SAVED TO DRIVE ENCRYPTED BY CERTIFICATE PASSWORD!"); } }
public static string WebserverCertificatePasswordDescription { get { return LC.L(@"The password for decryption of provided certificate PKCS #12 file."); } }
public static string WebserverInterfaceDescription { get { return LC.L(@"The interface the webserver listens on. The special values ""*"" and ""any"" means any interface. The special value ""loopback"" means the loopback adapter."); } }
public static string WebserverPasswordDescription { get { return LC.L(@"The password required to access the webserver. This option is saved so you do not need to set it on each run. Setting an empty value disables the password."); } }
public static string WebserverAllowedhostnamesDescription { get { return LC.L(@"The hostnames that are accepted, separated with semicolons. If any of the hostnames are ""*"", all hostnames are allowed and the hostname checking is disabled."); } }
@@ -55,7 +55,6 @@ Error message: {0}", error); }
{
public static string StartedServer(string ip, int port) { return LC.L(@"Server has started and is listening on {0}, port {1}", ip, port); }
public static string SSLCertificateFileMissingOption { get { return LC.L(@"SSL certificate password option has no meaning when provided without SSL certificate file option!"); } }
public static string SSLCertificatePasswordEmpty { get { return LC.L(@"Cant accept empty password for certificate, save PKCS #12 file with strong password. CERTIFICATE FILE WILL BE SAVED TO DRIVE ENCRYPTED BY CERTIFICATE PASSWORD!"); } }
public static string SSLParametersMismatch { get { return LC.L(@"Mismatch in SSL parameters. Cannot enable HTTPS without certificate."); } }
public static string ServerStartFailure(IEnumerable<int> portstried) { return LC.L(@"Unable to open a socket for listening, tried ports: {0}", string.Join(",", from n in (portstried ?? new int[0]) select n.ToString())); }
}