domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
962 stars 210 forks source link

ERROR: Parsedmarcservice is unable to verify elasticsearch #452

Open Firat-Gulec opened 6 months ago

Firat-Gulec commented 6 months ago

All seems to work well until I start the parsedmarc service, then I get this.

/opt/parsedmarc/venv/lib/python3.9/site-packages/elasticsearch/connection/http_urllib3.py:209: UserWarning: Connecting to https://127.0.0.1:9200 using SSL with verify_certs=False is insecure.

And it doesn't move forward (I've followed the self signed certificate steps you mention and I can access it via browser just fine with https)

May you help me with elasticsearch and kibana latest configuration and parsedmarc.ini set?

Any help? Thanks in advance..

my parser.ini file: [general] save_aggregate = True save_forensic = True

[msgraph] user = xxxxxxxx@xxxxx.xx password = xxxxxxxxxxxxxxxxxxxxx tenant_id = xxxxxxxxx-xxxxxx-xxxxxxxxxx-xxxxxxxxxxxx client_id = xxxxx-xxxxxxx-xxxxxxxx-xxxx-xxxxx client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[mailbox] watch = True delete = Inbox

[elasticsearch] hosts = https://username:password@127.0.0.1:9200 ssl = True

[syslog] server = localhost port = 514

elasticsearch version: 8.11.3

AnaelMobilia commented 5 months ago

Hello @Firat-Gulec

If you don't put "debug = true" on "[general]", the log could be very not verbose and don't display anything after the warning. I suggest to retry with the debug activated in order to see if any others information are displayed.

Regards