dmarc-visualizer icon indicating copy to clipboard operation
dmarc-visualizer copied to clipboard

IMAP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate

Open MrHappy opened this issue 4 years ago • 7 comments

After the three containers are started I get the following message parsedmarc_1 | ERROR:cli.py:696:IMAP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131) dmarc-visualizer_parsedmarc_1 exited with code 1 That is weird because my mailserver has no self-signed-certificate, but a genuine one which expires somewhere late october. My parsedmarc.ini settings are:

[general]
save_aggregate = true
save_forensic = true
output = /output/

[imap]
host = mailserver.domain.tld
WRONG_VERSION_NUMBER]
port = 993
user = [email protected]
password = password
watch = true
reports_folder = INBOX

[elasticsearch]
hosts = elasticsearch:9200
ssl = false

Setting ssl = False and skip_certificate_verification = True makes no difference.

Any reason why parsedmarc does not start and gives this error?

MrHappy avatar Aug 12 '21 14:08 MrHappy

Same here with an validated wildcard cert . ERROR:cli.py:696:IMAP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877)

HumphRey123 avatar Aug 13 '21 09:08 HumphRey123

Do you use port 993? Do you have special characters in your password?

supaeasy avatar Aug 13 '21 10:08 supaeasy

my solution is in cli.py ssl verify in #668 and #729 to False . Then it works !

HumphRey123 avatar Aug 13 '21 10:08 HumphRey123

Do you use port 993? Do you have special characters in your password?

I use port 993 and have not specials chars in my password.

my solution is in cli.py ssl verify in #668 and #729 to False . Then it works !

Where did you find this file? I cannot use the shell in the container because it keeps restarting... --- nvm found it in an overlay folder. Changed it now it works...

MrHappy avatar Aug 13 '21 13:08 MrHappy

After some caching error with a reset password I get the following error:

parsedmarc_1     |    ERROR:cli.py:696:IMAP Error: EOF occurred in violation of protocol (_ssl.c:1129)
dmarc-visualizer_parsedmarc_1 exited with code 1

What is this? It used to work before I reset everything (except the settings etc).

MrHappy avatar Aug 13 '21 21:08 MrHappy

I don't use the container files. I don't like docker containers , very Inflexible. I have build it like this: https://www.linuxbabe.com/mail-server/parsedmarc-ubuntu-18-04-16-04 and then connect with a grafana instance, that runs since years for me.

HumphRey123 avatar Aug 16 '21 08:08 HumphRey123

cli.py is located in parsedmarc build

HumphRey123 avatar Aug 16 '21 08:08 HumphRey123