Skip to content

Change references to ssl-enable to ssl-mode #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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