Commit deecaa9
authored
fix: Remove duplicate authority key identifier extension (#766)
Without removing this duplicate extension, the Go
X.509 parsing code would error out stating that the
"certificate contains duplicate extensions", which
was indeed correct.
We accidentially included the authority key identifier
twice, once in the leaf profile and once by manually
adding the extention after building the cert.
We now removed the manually added extension. This
resolved the Go error and the HTTP client was able
to establish a TLS-secured connection to the dummy
webhook.
See merge: https://go-review.googlesource.com/c/go/+/383215
See code: https://github.com/golang/go/blob/315b6ae682a2a4e7718924a45b8b311a0fe10043/src/crypto/x509/parser.go#L965-L9681 parent e50f53d commit deecaa9
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
| |||
331 | 329 | | |
332 | 330 | | |
333 | 331 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | 332 | | |
338 | 333 | | |
339 | 334 | | |
| |||
0 commit comments