The two chained stat() promises may not have finished by the time `enableSSL` is evaluated in case of a slow file system (e.g. on a Raspberry Pi where the only block device is an SD card).