Globalrestart required
A PEM file with certificate authority certificates. The monitor uses them to verify the certificate the client sent, if it requested one via http-tls-request-client-certificate. The line has no default.
The monitor does not take its own certificate here. This is the only place in the configuration where encryption is configured without a certificate line: receiving mail has one (smtp-server-tls-certificate), so do the listener and the Transmissions API input, but the monitor does not. Its certificate lies in a file — /var/lib/pmta/webmon.pem on Unix, db\webmon.pem in the installation directory on Windows (§ 5.1).
The monitor issues a self-signed certificate for itself during installation. We checked this on a fleet node: the handshake delivers a certificate whose common name is the host name, and chain verification predictably fails. It can be replaced with a real one in only one way — overwrite the file and restart the monitor; there is no configuration line for this.
A practical conclusion for the fleet. Giving the monitor a certificate is not a configuration edit but delivering a file plus restarting the service. It is a separate operation, and it is not part of applying the configuration.
The line is needed only where clients present a certificate:
| Value | When |
|---|---|
| do not set (default) | clients connect with the management key |
| path to PEM | clients present their own certificate |
The monitor’s own certificate is not set here, but by the file /var/lib/pmta/webmon.pem.
# trusted authorities for client certificates http-mgmt-port 1000 http-tls-ca-file /etc/pmta/certchain.pem
what people get wrong and how it ends3 mistakes▶
our experience
our experience
§ 3.3.1.58.19
2 relations
openssl s_client -connect NODE:1000 -brief </dev/null
3 articles
◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.