package net.ihe.xcpd.tls;import java.io.File;import net.ihe.gazelle.simulator.common.model.ApplicationConfiguration;/** *  * @author abderrazek boufahja * */public class TLSSecurity {        /**     * Set the certificat SSL     */    public static void setSecurityProperty()    {        String keystorePath = ApplicationConfiguration.getValueOfVariable("epsosFolder")+File.separator+"keystore.jks";        System.setProperty("javax.net.ssl.keyStore", keystorePath);        System.setProperty("javax.net.ssl.keyStorePassword", ApplicationConfiguration.getValueOfVariable("keyStorePassword"));        System.setProperty("javax.net.ssl.trustStore", keystorePath);        System.setProperty("javax.net.ssl.trustStorePassword", ApplicationConfiguration.getValueOfVariable("trustStorePassword"));    }}