pure-certd(8) | Pure-FTPd | pure-certd(8) |
pure-certd - TLS certificate agent for Pure-FTPd.
pure-certd [-p </path/to/pidfile>] [-u uid] [-g gid] [-B] <-s /path/to/socket> -r /program/to/run
pure-certd is a daemon that forks an authentication program, waits for a certificate path as a reply, and returns it to an application server.
pure-certd listens to a local Unix socket. A new connection to that socket should send pure-authd the following structure:
These content is passed to the authentication program, as an environment variable:
The authentication program should take appropriate actions to select a TLS certificate, and reply to the standard output with the following format:
Only one authentication program is forked at a time. It must return quickly.
To run this program the standard way type:
pure-certd -s /var/run/certd.sock -r /usr/bin/my-cert-program &
pure-ftpd -lextcert:/var/run/certd.sock &
echo 'action:strict'
echo 'cert_file:/etc/ssl/private/pure-ftpd/cert.pem'
echo 'end'
Frank DENIS <j at pureftpd dot org>
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8)
1.0.50 | Frank Denis |