Skip to content

Commit

Permalink
Merge d5b184a into 4ac5774
Browse files Browse the repository at this point in the history
  • Loading branch information
robynron authored Nov 9, 2023
2 parents 4ac5774 + d5b184a commit 8a225d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/encryption/kms_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ func InitDefaultKmsV3ClientWithConfig(config *dkms_api.Config, caVerify string)
if len(strings.TrimSpace(caVerify)) != 0 {
logger.Infof("set kms client Ca with content: %s\n", caVerify[:len(caVerify)/maskUnit32Width])
client.SetVerify(caVerify)
} else {
client.SetHTTPSInsecure(true)
}
client.SetKmsVersion(constant.KMSv3)
kmsClient = client
Expand Down

0 comments on commit 8a225d9

Please sign in to comment.