[Twisted-Python] Using twistd with -c option causes permission error
Maarten ter Huurne
maarten at treewalker.org
Mon Aug 27 22:01:13 MDT 2018
On Tuesday, August 28, 2018 2:10:22 AM CEST Richard Shea wrote:
> I'm trying to use the -c option of twistd like this :
>
> twistd web --wsgi bar.app -c foo.cer -k privkey.pem --https=4433
>
> I'm pointing it at a cert with perms like this "-rw-r--r-- 1 root root" but
> twistd complains about a permission error .
>
> I'm puzzled ... surely twistd only needs to read that file ?
Is it complaining about the permissions on the cert or on the private key?
Some applications (like SSH) reject private keys if they are world-readable,
as a precaution.
Bye,
Maarten
More information about the Twisted-Python
mailing list