AsyncMysqlConnection::getSslCertSan

Returns Server Alternative Names attribute of the TLS certificate presented by MySQL server

public function getSslCertSan(): Vector<string>;

This information can be used while troubleshooting TLS handshake failures happening on connect stage.

Returns

  • Vector<string> - a vector of strings containing a collection of Server Alternative Names values from the server certificate presented by MySQL.