@Override
    protected KeyStore loadTrustStore(Resource resource) throws Exception {
        return CertificateUtils.getKeyStore(
                resource != null ? resource : getKeyStoreResource(),
                Objects.toString(getTrustStoreType(), getKeyStoreType()),
                Objects.toString(getTrustStoreProvider(), getKeyStoreProvider()),
                trustStorePassword);
    }
A modified {@link SslContextFactory} that allows passwordless truststore in combination with password protected keystore.

@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/ssl/impl/JDiscSslContextFactory.java