Skip to content

Commit

Permalink
Merge pull request #98 from ZLBer/tls
Browse files Browse the repository at this point in the history
fix: wrong tls config
  • Loading branch information
AlexStocks authored Oct 23, 2022
2 parents 3da63c3 + 4dc6252 commit 532bf58
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 532bf58

Please sign in to comment.