Skip to content

Commit ccc54f2

Browse files
author
Chris Wiechmann
committed
No longer trying to read ca.pem by default
1 parent 076d5e8 commit ccc54f2

File tree

4 files changed

+859
-1660
lines changed

4 files changed

+859
-1660
lines changed

api-builder-plugin-fn-elasticsearch/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [1.0.23] 2021-09-10
8+
### Fixed
9+
- No longer trying to read ca.pem
10+
711
## [1.0.22] 2021-08-27
812
### Fixed
913
- Create transform method fixed

api-builder-plugin-fn-elasticsearch/config/elasticsearch.default.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ module.exports = {
1818
// https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/7.x/client-configuration.html
1919
maxRetries: 5,
2020
requestTimeout: 60000,
21-
ssl: {
22-
ca: fs.readFileSync('./cacert.pem'),
23-
rejectUnauthorized: false
24-
}
21+
//ssl: {
22+
// ca: fs.readFileSync('./cacert.pem'),
23+
// rejectUnauthorized: false
24+
//}
2525
},
2626
// The connection to Elasticsearch is validated on API-Builder startup by default
2727
// It can be disabled by setting this to false.

0 commit comments

Comments
 (0)