symmetryinvestments / imap-d

D library for IMAP (JMAP is a work-in-progress but the basics work)
14 stars 10 forks source link

Be more flexible about location of SSL certs on Linux #70

Closed Laeeth closed 3 years ago

Laeeth commented 3 years ago

On Ubuntu 20 my certs is at /etc/ssl/certs/ca-certificates.crt and needs to be copied to /etc/ssl/cert.pem for the plugin to work.

otrho commented 3 years ago

On my Arch under /etc/ssl I have:

lrwxrwxrwx 1 root root    46 Jul 29 02:36 cert.pem -> ../ca-certificates/extracted/tls-ca-bundle.pem

So it installs a symlink itself by the looks of it.

This ServerFault answer is useful. Maybe we can mirror what Go does and look everywhere until we find them. https://serverfault.com/a/722646

Laeeth commented 3 years ago

Above makes sense.

Laeeth commented 3 years ago

closed by #77