diff --git a/Oqtane.Client/Installer/Controls/SqlServerConfig.razor b/Oqtane.Client/Installer/Controls/SqlServerConfig.razor index 28192be0..021ba776 100644 --- a/Oqtane.Client/Installer/Controls/SqlServerConfig.razor +++ b/Oqtane.Client/Installer/Controls/SqlServerConfig.razor @@ -48,6 +48,18 @@ +@if (_encryption == "true") +{ +
+ +
+ +
+
+} @code { private string _server = String.Empty; @@ -56,6 +68,7 @@ private string _uid = String.Empty; private string _pwd = String.Empty; private string _encryption = "false"; + private string _trustservercertificate = "false"; public string GetConnectionString() { @@ -75,6 +88,7 @@ connectionString += $"User ID={_uid};Password={_pwd};"; } connectionString += $"Encrypt={_encryption};"; + connectionString += $"TrustServerCertificate={_trustservercertificate};"; return connectionString; } diff --git a/Oqtane.Client/Resources/Installer/Controls/SqlServerConfig.resx b/Oqtane.Client/Resources/Installer/Controls/SqlServerConfig.resx index 0f4ca4ac..b211c6aa 100644 --- a/Oqtane.Client/Resources/Installer/Controls/SqlServerConfig.resx +++ b/Oqtane.Client/Resources/Installer/Controls/SqlServerConfig.resx @@ -159,4 +159,16 @@ Specify if you are using an encrypted database connection. It is highly recommended to use encryption in a production environment. + + Self Signed + + + Specify the type of certificate you are using for encryption + + + Trust Server Certificate: + + + Verifiable + \ No newline at end of file