Skip to content
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

Index: Cannot Connect to ES for index, can for Backend creation. #420

Closed
dpieski opened this issue Sep 6, 2023 · 1 comment
Closed

Index: Cannot Connect to ES for index, can for Backend creation. #420

dpieski opened this issue Sep 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dpieski
Copy link
Contributor

dpieski commented Sep 6, 2023

Device Information (please complete the following information):

  • Deployment: [Linux, Linux ARM64 or Docker] Docker
  • SIST2 Version: [e.g., v2.9.0] 3.3.0
  • Elasticsearch Version (if relevant) : `` 8.7.1

Command with arguments

 [ADMIN ] Starting sist2 command with args ['/root/sist2', 'index', '/sist2-admin/scan-Firm-2023-09-06 19:35:30.212114.sist2', '--threads=14', '--es-url=https://elastic:[email protected]:9200', '--es-index=sist2', '--batch-size=200', '--es-insecure-ssl', '--incremental-index', '--json-logs', '--very-verbose']

image

Describe the bug

2023-09-06 22:14:56 [ERROR web.c] CURL Error: SSL: no alternative certificate subject name matches target host name 'search.DOMAIN.com'
2023-09-06 22:14:56 [FATAL elastic.c] Could not get ES version

Expected behavior

When es_insecure is selected- use it instead of overwriting because of https in the domain name.

Actual Behavior

2023-09-06 22:14:56 [DEBUG cli.c] arg es_url=https://elastic:PASSWORD@search.DOMAIN.com:9200
...
2023-09-06 22:14:56 [DEBUG cli.c] arg es_insecure_ssl=1
@dpieski dpieski added the bug Something isn't working label Sep 6, 2023
@simon987
Copy link
Collaborator

simon987 commented Oct 7, 2023

Should be fixed in 31646a2

@simon987 simon987 closed this as completed Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants