Skip to content

[New Feature] Passing Certificate in X509Certificate/X509Certificate2 format rather than physical paths #976

Closed
@kisalay19

Description

@kisalay19

Currently the MySqlConnectionStringBuilder has the ability to add SSL Certificates which accepts physical paths only.

It would be good if there is a feature added to pass the certificate directly in X509Certificate/X509Certificate2 format as against physical path.

Example :

AS IS

var buiderObject = new MySQLConnectionStringBuilder
{
      ...
      CertificateFile = <PFX file Path>,
      ...
}

TO BE

var buiderObject = new MySQLConnectionStringBuilder
{
      ...
      CertificateFile = new X509Certificate2(...), OR new X509Certificate(...),
      ...
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions