public static Properties loadTrayProperties(){
  Properties trayProps=new Properties();
  String trayPropsPath=DeployUtilities.detectPropertiesPath();
  log.info("Main properties file " + trayPropsPath);
  File propsFile=new File(trayPropsPath);
  try (FileInputStream inputStream=new FileInputStream(propsFile)){
    trayProps.load(inputStream);
    return trayProps;
  }
 catch (  IOException e) {
    e.printStackTrace();
    log.warn("Failed to load properties file!");
    return null;
  }
}

public static Properties loadTrayProperties ( ) { Properties trayProps = new Properties ( ) ; String trayPropsPath = DeployUtilities . detectPropertiesPath ( ) ; log . info ( "Main properties file " + trayPropsPath ) ; File propsFile = new File ( trayPropsPath ) ; try ( FileInputStream inputStream = new FileInputStream ( propsFile ) ) { trayProps . load ( inputStream ) ; return trayProps ; } catch ( IOException e ) { e . printStackTrace ( ) ; log . warn ( "Failed to load properties file!" ) ; return null ; } }
returns a properties object containing the ssl properties infor
