Skip to content

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

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(...),
      ...
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions