diff --git a/README.md b/README.md index 8020682..a9384e9 100644 --- a/README.md +++ b/README.md @@ -25,30 +25,22 @@ API documentation and documented examples can be found at :@something.hanacloud.ondemand.com:443?TLSServerName=something.hanacloud.ondemand.com&TLSRootCAFile=/DigiCertGlobalRootCA.crt.pem" -``` - -or - ``` "hdb://:@something.hanacloud.ondemand.com:443?TLSServerName=something.hanacloud.ondemand.com" ``` with: - TLSServerName same as 'host' -- TLSRootCAFile needs to point to the location in your filesystem where the file DigiCertGlobalRootCA.crt.pem is stored -When omitting the TLSRootCAFile, TLS uses the host's root CA set (for more information please see -[Config RootCAs](https://pkg.go.dev/crypto/tls#Config). +## Specific root certificate +In case a specific root certificate (e.g. self-signed) would be needed, the TLSRootCAFile DSN parameter needs to +point to the location in the filesystem where a root certificate file in 'pem-format' is stored. ## Tests diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 1e06f00..0ff4b3a 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,6 +5,9 @@ Release Notes ### Minor revisions +#### v1.8.30 +- updated README root certificate sections + #### v1.8.29 - updated dependencies diff --git a/driver/driver.go b/driver/driver.go index 11c59fe..9be235d 100644 --- a/driver/driver.go +++ b/driver/driver.go @@ -10,7 +10,7 @@ import ( ) // DriverVersion is the version number of the hdb driver. -const DriverVersion = "1.8.29" +const DriverVersion = "1.8.30" // DriverName is the driver name to use with sql.Open for hdb databases. const DriverName = "hdb"