mirror of
https://github.com/vrana/adminer.git
synced 2026-05-06 16:57:04 +02:00
MSSQL: Allow to set Encrypt and TrustServerCertificate with AdminerLoginSsl plugin (issue #5)
https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/connection-string-syntax#use-trustservercertificate
This commit is contained in:
@@ -11,7 +11,10 @@ class AdminerLoginSsl {
|
||||
var $ssl;
|
||||
|
||||
/**
|
||||
* @param array MySQL: ["key" => filename, "cert" => filename, "ca" => filename, "verify" => bool], PostgresSQL: ["mode" => sslmode]
|
||||
* @param array
|
||||
* MySQL: ["key" => filename, "cert" => filename, "ca" => filename, "verify" => bool]
|
||||
* PostgresSQL: ["mode" => sslmode] (https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLMODE)
|
||||
* MSSQL: ["Encrypt" => true, "TrustServerCertificate" => true] (https://learn.microsoft.com/en-us/sql/connect/php/connection-options)
|
||||
*/
|
||||
function __construct($ssl) {
|
||||
$this->ssl = $ssl;
|
||||
|
||||
Reference in New Issue
Block a user