appbaseio / appbaseio/abc

Import mongo db to SSL secured elastic search

Abierto
#137 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
471
Forks
47
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.