Skip to content

Commit

Permalink
fix alias case detection
Browse files Browse the repository at this point in the history
  • Loading branch information
nitram509 committed Oct 2, 2024
1 parent 2bc5ed5 commit dca0f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion keystore_load.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (ks KeyStore) loadPkcs12(r io.Reader, password []byte) error {
// Locality, Province []string
// StreetAddress, PostalCode []string
// SerialNumber, CommonName string
ks.m[alias] = tce
ks.m[ks.convertAlias(alias)] = tce
}

return nil
Expand Down
1 change: 1 addition & 0 deletions testdata/self_signed_certificate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ openssl pkcs12 -export -out cert.p12 -in cert.pem -inkey key.pem -passin pass:pa
When `openssl req ...` asks you for some certificate subject information, enter the following values:

```text
Enter PEM pass phrase:pass
Country Name (2 letter code) [AU]:de
State or Province Name (full name) [Some-State]:Brandenburg
Locality Name (eg, city) []:Potsdam
Expand Down

0 comments on commit dca0f28

Please sign in to comment.