Changed logic to check for initial certificate, now using the truststore instead of the .cer file (#2213)

This commit is contained in:
Alberto Arri
2017-12-12 10:39:52 +00:00
committed by GitHub
parent 5b12c5177e
commit 2dc73ecf3b
6 changed files with 100 additions and 76 deletions

View File

@ -15,6 +15,4 @@ interface SSLConfiguration {
interface NodeSSLConfiguration : SSLConfiguration {
val baseDirectory: Path
override val certificatesDirectory: Path get() = baseDirectory / "certificates"
// TODO This will be removed. Instead we will just check against the truststore, which will be provided out-of-band, along with its password
val rootCertFile: Path get() = certificatesDirectory / "rootcert.pem"
}