~psic4t/qcal#6: 
Self-signed Certificate for Davmail

Hi there,

I am running a davmail server to commect to my university outlook mail and calendar. The servers certificate is self-signed and I think this is giving me the following error when I try to connect qcal:

2023/08/27 10:29:08 Report "https://davmail-server.xyz:1080/users/elias.pahls@university.mail/calendar": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match davmail-server.xyz

Can I reference the certificate in the qcal connfig, or override trust? Or am I on the wrong track?

All the best, Elias

Status
REPORTED
Submitter
Elias Pahls
Assigned to
No-one
Submitted
1 year, 5 months ago
Updated
10 months ago
Labels
No labels applied.

~psic4t 1 year, 5 months ago

Hi Elias!

You should try to import the self signed certificate, so that the Golang http client sees it as valid. But it would be better to just get a Let's Encrypt certificate.

Register here or Log in to comment, or comment via email.