nixcfg/cluster/prod/app/email/integration
2023-03-20 09:45:05 +01:00
..
README.md wip rsa-ecc proxy 2023-03-20 09:45:05 +01:00
tls-tls-proxy.sh wip rsa-ecc proxy 2023-03-20 09:45:05 +01:00

Email

TLS TLS Proxy

Required for Android 7.0 that does not support elliptic curves.

Generate a key:

openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout rsa.key -out rsa.crt -subj "/CN=imap.deuxfleurs.fr" -addext "subjectAltName=DNS:smtp.deuxfleurs.fr"

Run the command:

./integration/proxy.sh imap.deuxfleurs.fr:993 1993

Test it:

openssl s_client localhost:1993