Skip to content

Self-Signed SSL #452

@kimjohans

Description

@kimjohans

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions