Replies: 10 comments 20 replies
-
Grabbing the latest puppetserver image, looks like it doesn't create CAs with a SAN >.< |
Beta Was this translation helpful? Give feedback.
-
Yup :( and even if recent ones did we would have like years more of this dumb things as most old certs are this way and certs can be valid for 5 years little choice but to write our own validation code that gets called only for certs without them |
Beta Was this translation helpful? Give feedback.
-
Yup - the "ignoreCN" variable is created at runtime, so unfortunately the only thing we could do is to ensure the variable is set before we start the process. |
Beta Was this translation helpful? Give feedback.
-
1.16 removes that variable. Will need to code own validation |
Beta Was this translation helpful? Give feedback.
-
Not sure where I saw it’s targeted, anyway we can’t expect it to be there long nor can we ensure it’s set for CLI interactions :( |
Beta Was this translation helpful? Give feedback.
-
Here's a potential hack - if a SAN doesn't exist, create one and shove the common name into it. Should probably be hidden behind a configuration flag (that defaults to on..) |
Beta Was this translation helpful? Give feedback.
-
If it works I am all for it :) |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I can get nodes to connect to the network broker fine, however the federated broker gives this error: and client seems to have issues too, for example: I am no Certificate Expert but you are talking about the CA cert not having a SAN, which seems weird to me, I understand for normal certs, but why would a root CA need a SAN? would my intermediate CA that puppet uses having a SAN fix the issues? |
Beta Was this translation helpful? Give feedback.
-
Hmm. I have to limit this code only to the clients but I guess I have a bug where I don’t handle the federation clients. I agree it’s weird and unnecessary but this is a change in tbe Go language that cannot be opted out and that is unbelievably stupid. So we are just trying to work around this idiocy as best we can :( |
Beta Was this translation helpful? Give feedback.
-
@marc-brou you are using Puppet CA? its weird you get this for normal client too |
Beta Was this translation helpful? Give feedback.
-
Golang 1.15 depreciated CAs which are created without SANs - this is something that was depreciated 20 years ago.
Currently we have (at least) one test CA in our test suite which was created this way - IIRC this was because the CA could've been made with puppet?
Is this behavior in the current versions of puppet? If so, when was that changed?
Beta Was this translation helpful? Give feedback.
All reactions