Re: sudo_logsrvd configuration

Stefan Johnson <[email protected]> Wed, 28 Jul 2021 08:08:46 -0500
Newsgroups gmane.comp.tools.sudo.user
Message-ID <CAM72HiEf1OFTuCM3S-OBjwn=vTEyviOXHJPE+Wo0gEjgZp_XJg@mail.gmail.com>
On Tue, Jul 27, 2021 at 9:32 PM Todd C. Miller <[email protected]> wrote:

> On Tue, 27 Jul 2021 15:59:24 -0500, Stefan Johnson wrote:
>
> > The "log_servers" directive allows a list of log servers, but how do you
> > include the certificate for each of those log servers?  The
> > "log_server_peer_cert" and "log_server_peer_key" directives seem to only
> > accept one entry.  If I only include one log server in the sudoers file
> > with the appropriate cert, key, and cacert (log_server_cabundle
> directive)
> > it works fine, but if I try to include a list of certs and keys for each
> > server, it fails.
>
> The "log_server_peer_cert" and "log_server_peer_key" directives
> describe the cert and key for the sudo client, not the sudo_logsrvd
> server.  Sudo will use the "log_server_cabundle" directive to verify
> the identity of all the servers it connects to.  That file can contain
> multiple certs.
>
> > I also recognize that I might need to do a subject alternative names
> > certificate for all of the log servers and use that same cert everywhere.
>
> That is certainly one way to do it but it should also be possible
> to use a discrete cert for each server.
>
>
 - todd
>

Thank you for the clarification.  I have it working perfectly, now.

Stefan
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users