Skip to content

temporary directory

TinCanTech edited this page Jan 9, 2022 · 9 revisions

Easy-TLS temporary directory

The temporary directory is used by Easy-TLS server scripts to share TLS-Crypt-V2 key metadata.

  • From easytls-cryptv2-verify.sh
    • To easytls-client-connect.sh and easytls-client-disconnect.sh.

Recommended settings are:

  • Linux using systemd
    Use /tmp which is protected by systemd:PrivateTmp=true
    Configure: ./easytls config tmp.dir /tmp (This is set by default)

  • Linux using sysV
    Use /var/easytls (Any subdirectory of /var is suitable)
    Configure: ./easytls config tmp.dir /var/easytls
    This directory must be created by root: sudo mkdir /var/easytls

  • Windows
    Use C:\Windows\Temp (This is set by default, any directory is suitable)

For a busy Server, it may be more suitable to locate the temporary directory on a virtual media.