Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions devapi/tests/session-t.cc
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ TEST_F(Sess, ssl_session)
, mysqlx::Error);
}

//using ssl-ca but ssl-enable = false on SessionSettings
//using ssl-ca but with the wrong CA

{
/*
Expand All @@ -629,7 +629,7 @@ TEST_F(Sess, ssl_session)
, Error);
}

//using ssl-enable and ssl-ca as SessionSettings
//using ssl-mode=VERIFY_IDENTITY and ssl-ca as SessionSettings

{

Expand Down
4 changes: 2 additions & 2 deletions include/mysqlx/xapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,10 @@ mysqlx_get_session(const char *host, int port, const char *user,

Possible connection options are:

- `ssl-enable` : use TLS connection
- `ssl-mode` : TLS connection mode
- `ssl-ca=`path : path to a PEM file specifying trusted root certificates

Specifying `ssl-ca` option implies `ssl-enable`.
Specifying `ssl-ca` option implies `ssl-mode=VERIFY_CA`.

@param conn_string connection string
@param[out] out_error if error happens during connect the error message
Expand Down