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

Self-Signed SSL #452

Open
kimjohans opened this issue Dec 10, 2024 · 0 comments
Open

Self-Signed SSL #452

kimjohans opened this issue Dec 10, 2024 · 0 comments

Comments

@kimjohans
Copy link

Hello,

currently i am using your lib on my Debian 12 system:
libetpan-dev/oldstable,now 1.9.4-3 amd64 [installiert]
libetpan20/oldstable,now 1.9.4-3 amd64 [Installiert,automatisch]

Within my code i am trying to connect to my MailServer:
int r = mailimap_ssl_connect(imap, host.c_str(), server.port);

... wich is running fine on foreign servers and on my public own mailserver - because they have valid SSL.

To develop i need to conenct to my dev-MailServer, which has a self-signed SSL certificate.

Result: r == MAILIMAP_ERROR_SSL

How can i trust those certificates ? I need a way to accept all SSL certificates on selected servers.

Some ideas oder solutions ?

Thanks a lot,
Kim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant