cert-manager/pkg
Ashley Davis 5e31fa37ff
selfsigned: warn when certs have empty issuer DNs
as raised in#3634 - RFC 5280 states that the issuer field cannot be
empty, but this could easily happen with selfsigned certs which had
an empty subject (as the issuer matches the subject when the cert is
self signed)

this commit detects when a cert would be issued selfsigned with an
empty subject DN and emits a warning event, allowing cluster operators
to detect the warning and potentially either re-issue to generate a
compliant cert, or else accept the risk.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-03-26 11:51:46 +00:00
..
acme spelling: wrapped 2021-03-04 13:04:38 -05:00
api Updates api/util CertificateRequest approved helpers to use new 2021-03-17 13:10:39 +00:00
apis Remove CertificateRequest Approve/Deny Reasons 2021-03-17 13:10:39 +00:00
client Run a codegen update 2021-01-08 15:05:32 +01:00
controller selfsigned: warn when certs have empty issuer DNs 2021-03-26 11:51:46 +00:00
ctl Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
feature Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
internal Don't log error output in approver when CertificateRequest is deleted 2021-03-17 13:10:39 +00:00
issuer Updates issuer condition update consumers to use new observedGeneration 2021-03-15 15:06:21 +00:00
logs DataForCertificate: use fake clientset instead of fake lister 2021-03-04 17:20:45 +01:00
metrics spelling: prometheus 2021-03-04 13:04:38 -05:00
scheduler Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
util improve comment to match the function definition 2021-03-19 13:59:33 +00:00
webhook Rename webhook SchemeBackedMutator -> RegistryBackedMutator 2021-02-10 09:39:52 +00:00