Skip to content

Commit

Permalink
fix: wrong tls config
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLBer committed Oct 22, 2022
1 parent 3da63c3 commit 4dc6252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type ClientTlsConfigBuilder struct {

// BuildTlsConfig impl TlsConfigBuilder method
func (c *ClientTlsConfigBuilder) BuildTlsConfig() (*tls.Config, error) {
cert, err := tls.LoadX509KeyPair(c.ClientTrustCertCollectionPath, c.ClientPrivateKeyPath)
cert, err := tls.LoadX509KeyPair(c.ClientKeyCertChainPath, c.ClientPrivateKeyPath)
if err != nil {
log.Error(fmt.Sprintf("Unable to load X509 Key Pair %v", err))
return nil, err
Expand Down

0 comments on commit 4dc6252

Please sign in to comment.