public static SSLOption buildFromYaml(String tag, ConcurrentCompositeConfiguration configSource) {
SSLOption option = new SSLOption();
option.protocols =
getStringProperty(configSource,
DEFAULT_OPTION.getProtocols(),
"ssl." + tag + ".protocols",
"ssl.protocols");
option.ciphers =
getStringProperty(configSource, DEFAULT_OPTION.getCiphers(), "ssl." + tag + ".ciphers", "ssl.ciphers");
option.authPeer =
getBooleanProperty(configSource, DEFAULT_OPTION.isAuthPeer(), "ssl." + tag + ".authPeer", "ssl.authPeer");
"ssl." + tag + ".checkCN.white",
"ssl.checkCN.white");
option.checkCNWhiteFile = getStringProperty(configSource,
DEFAULT_OPTION.getCiphers(),
"ssl." + tag + ".checkCN.white.file",
"ssl.allowRenegociate");
option.storePath =
getStringProperty(configSource,
DEFAULT_OPTION.getStorePath(),
"ssl." + tag + ".storePath",
"ssl.storePath");
option.trustStore =
getStringProperty(configSource,
DEFAULT_OPTION.getTrustStore(),
"ssl." + tag + ".trustStore",
"ssl.trustStore");
option.trustStoreType = getStringProperty(configSource,