mirror of https://github.com/docker/docs.git
Fixed bug with RemoveCert
Signed-off-by: Diogo Monica <diogo@docker.com>
This commit is contained in:
parent
e3591c0b10
commit
97a2d30d99
|
@ -121,7 +121,7 @@ func (s *X509FileStore) RemoveCert(cert *x509.Certificate) error {
|
|||
filename := s.fileMap[certID]
|
||||
delete(s.fileMap, certID)
|
||||
|
||||
name := string(cert.RawSubject)
|
||||
name := string(cert.Subject.CommonName)
|
||||
|
||||
// Filter the fingerprint out of this name entry
|
||||
fpList := s.nameMap[name]
|
||||
|
|
Loading…
Reference in New Issue