generating SHA for CA only certs in backend_ssl.go + comparision of ProxySSL structures in types_equals.go (#8098)
This commit is contained in:
parent
4dda149ed0
commit
a13305185a
2 changed files with 14 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ func (s *k8sStore) getPemCertificate(secretName string) (*ingress.SSLCert, error
|
|||
return nil, fmt.Errorf("error configuring CA certificate: %v", err)
|
||||
}
|
||||
|
||||
sslCert.CASHA = file.SHA1(sslCert.CAFileName)
|
||||
|
||||
if len(crl) > 0 {
|
||||
err = ssl.ConfigureCRL(nsSecName, crl, sslCert)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue