pcp
[Top] [All Lists]

Re: [pcp] Client Certificates

To: Martins Innus <minnus@xxxxxxxxxxx>
Subject: Re: [pcp] Client Certificates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 25 Apr 2016 23:18:04 -0400 (EDT)
Cc: "Andrew E. Bruno" <aebruno2@xxxxxxxxxxx>, PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <571A66F2.5040800@xxxxxxxxxxx>
References: <570C08BD.6000101@xxxxxxxxxxx> <1342536304.39522715.1460426883551.JavaMail.zimbra@xxxxxxxxxx> <570FF9C2.90904@xxxxxxxxxxx> <1210239502.40454545.1460703459256.JavaMail.zimbra@xxxxxxxxxx> <571141F7.1060603@xxxxxxxxxxx> <5717B046.6000809@xxxxxxxxxxx> <1609665615.42340226.1461219466245.JavaMail.zimbra@xxxxxxxxxx> <571A66F2.5040800@xxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: 8y3LMbl2cwiAV2ct9mAR8eY/D2+eZw==
Thread-topic: Client Certificates
Hi Martins,

----- Original Message -----
> Nathan,
> 
> OK, This all makes sense.  Thanks for the pointer to this code.

Great, no problem.

> [...]
> think the pmServerFeature stuff will help here if I understand it correctly.

Yep & will definitely help with getting a pmcd.feature.* metric in place
too, as that PMDA code uses those libpcp pmServerFeature interfaces too.

> At the client end, regardless of whether or not pmproxy is in the mix,
> if a CERT_REQD is received and the client was not invoked with
> "PCP_SECURE_SOCKETS=enforce" should that be an error? Or should we try
> to upgrade the connection?

I think an error would be OK, but I guess go with whichever behaviour makes
the most sense for your real-world use-case.

> Of course.  I've got most of this in a rough form, since I've been going
> through it over and over again in testing.

Heh, good stuff.

> > [...] /var/lib/pcp/config/nssdb would suit?  Not sure.
> 
> Yeah, that probably makes sense. This could be used by any server side
> process that runs as the pcp user. So pmcd and pmproxy for sure.
> 
> Thanks for the notes.

No worries.  I punted that this will be ready for next release, so added a
card in for 3.11.3 - feel free to move it somewhere else more appropriate,
if that sounds too soon.  ( http://pcp.io/roadmap )

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>