Import mongo db to SSL secured elastic search
- Dominant language
- Go
- Stars
- 471
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
abc version: 0.10.0
Command: ./abc-0.10.0 import --src_type=mongodb --src_uri="mongodb://x.x.x.x:27019/" --ssl=false "https://username:password@y.y.y.y:9200/"
I'm trying to import mongo data from Unsecured mongo to SSL enabled secured elastic search but I'm unable to do and receiving the below error.
Error form abc:
panic: connection error, https://y.y.y.y:9200 [recovered]
panic: Panic at 60: connection error, https://y.y.y.y:9200 [recovered]
panic: Panic at 60: connection error, https://y.y.y.y:9200
Error from Elasticsearch:
SSL Problem Received fatal alert: bad_certificate
javax.net.ssl.SSLException: Received fatal alert: bad_certificate
How to solve this issue. Though I set ssl to false, the import is not happening and what is the way to solve the issue.
Thanks
##### Checks
- [x] I have mentioned my `abc` version in the issue, if applicable.
- [x] This issue is not a duplicate.
- [x] This issue has a description.
Contributor guide
Assessment
This issue has not been assessed yet.