cert-manager/pkg/controller
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
..
acmechallenges Merge pull request #3500 from meyskens/update-copy 2020-12-15 10:12:31 +00:00
acmeorders spelling: preferred 2021-03-04 13:04:38 -05:00
cainjector Minor log message clarification 2021-01-07 19:21:11 +00:00
certificaterequests selfsigned: warn when certs have empty issuer DNs 2021-03-26 11:51:46 +00:00
certificates Merge pull request #3641 from JoshVanL/certificate-request-identity 2021-03-15 14:26:15 +00:00
clusterissuers Merge pull request #3641 from JoshVanL/certificate-request-identity 2021-03-15 14:26:15 +00:00
ingress-shim remove unused function 2021-03-19 13:59:33 +00:00
issuers Merge pull request #3641 from JoshVanL/certificate-request-identity 2021-03-15 14:26:15 +00:00
test DataForCertificate: use fake clientset instead of fake lister 2021-03-04 17:20:45 +01:00
BUILD.bazel Remove unused helper functions 2020-11-19 12:44:18 +00:00
builder.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
context.go Removes the deprecated renew-before-expiry flag 2021-02-21 10:22:25 +00:00
controller.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
helper.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
register.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
util.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00