Disable SSL by default (#25)
* Print the connection type used (with/without SSL) * Update CHANGELOG Co-authored-by: Antonio Andelic <antonio.andelic@memgraph.io>
This commit is contained in:
parent
0a7d4278b1
commit
2e7d3822fe
@ -2,6 +2,11 @@
|
||||
|
||||
## v1.2.0
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
* SSL is disabled by default (`--bolt-cert-file` and `--bolt-key-file` are
|
||||
empty). This change might only affect the client connection configuration.
|
||||
|
||||
### Major Features and Improvements
|
||||
|
||||
* Added support for Bolt v4.0 and v4.1.
|
||||
|
@ -39,14 +39,6 @@ modifications:
|
||||
value: "/var/log/memgraph/memgraph.log"
|
||||
override: true
|
||||
|
||||
- name: "bolt_cert_file"
|
||||
value: "/etc/memgraph/ssl/cert.pem"
|
||||
override: true
|
||||
|
||||
- name: "bolt_key_file"
|
||||
value: "/etc/memgraph/ssl/key.pem"
|
||||
override: true
|
||||
|
||||
- name: "bolt_num_workers"
|
||||
value: ""
|
||||
override: false
|
||||
|
@ -1002,6 +1002,9 @@ int main(int argc, char **argv) {
|
||||
if (!FLAGS_bolt_key_file.empty() && !FLAGS_bolt_cert_file.empty()) {
|
||||
context = ServerContext(FLAGS_bolt_key_file, FLAGS_bolt_cert_file);
|
||||
service_name = "BoltS";
|
||||
std::cout << "Using secure Bolt connection (with SSL)" << std::endl;
|
||||
} else {
|
||||
std::cout << "Using non-secure Bolt connection (without SSL)" << std::endl;
|
||||
}
|
||||
|
||||
ServerT server({FLAGS_bolt_address, static_cast<uint16_t>(FLAGS_bolt_port)},
|
||||
|
Loading…
Reference in New Issue
Block a user