Skip to content

Commit

Permalink
CC cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlesbykumbi committed Jun 16, 2020
1 parent 801ed85 commit 7748772
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- MySQL and PostgreSQL connectors support SSL host name verification with `verify-full` SSL mode. Also adds optional `sslhost` configuration parameter that is compared to the server's certificate SAN. [#1249](https://github.com/cyberark/secretless-broker/pull/1249)
- MySQL and PostgreSQL connectors support SSL host name verification with `verify-full`
SSL mode. Also adds optional `sslhost` configuration parameter that is compared to the
server's certificate SAN. [#1249](https://github.com/cyberark/secretless-broker/pull/1249)

## [1.6.0] - 2020-05-04

Expand Down
8 changes: 4 additions & 4 deletions test/util/cfssl/generate_certificates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ echo '
-hostname="" \
- | cfssljson -bare client

rm *.csr
for file in *.pem; do
rm ./*.csr
for file in ./*.pem; do
echo "// File generated by ROOT/test/util/cfssl/generate_certificates.sh
// DO NOT EDIT
" > "${file}.tmp"
cat "${file}" >> "${file}.tmp";
done
for file in *.tmp; do mv "${file}" "${file%".tmp"}"; done
mv *.pem ../ssl
for file in ./*.tmp; do mv "${file}" "${file%".tmp"}"; done
mv ./*.pem ../ssl
4 changes: 2 additions & 2 deletions test/util/testutil/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ func (sslMode SSLMode) toSecret() *config_v2.Credential {
type SSLHost string

const (
// Default SSLHost
// SSLHostDefault is the default sslhost value which is empty
SSLHostDefault SSLHost = ""
// Invalid SSLHost
// SSLHostInvalid is an invalid sslhost value
SSLHostInvalid = "invalid"
)

Expand Down

0 comments on commit 7748772

Please sign in to comment.