public File getMasterKeyStoreLocation() {
    File location;
    String path = getProperty(MASTER_KEYSTORE_LOCATION);

    if (StringUtils.isEmpty(path)) {
      location = new File(getServerKeyStoreDirectory(), MASTER_KEYSTORE_FILENAME_DEFAULT);
      LOG.debug("Value of {} is not set, using {}", MASTER_KEYSTORE_LOCATION,
          location.getAbsolutePath());
    } else {
      location = new File(path, MASTER_KEYSTORE_FILENAME_DEFAULT);
      LOG.debug("Value of {} is {}", MASTER_KEYSTORE_LOCATION, location.getAbsolutePath());
    }

    return location;
  }
Returns the location of the master keystore file.
<p/>
The master keystore file is named 'credentials.jceks'. The directory that
this file is to be found in is calculated by obtaining the directory path
assigned to the Ambari property 'security.master.keystore.location'; else
if that value is empty, then the directory is determined by calling
{@link #getServerKeyStoreDirectory()}.
<p/>
The location is calculated by obtaining the Ambari property directory path
assigned to the key 'security.master.keystore.location'. If that value is
empty, then the directory is determined by
{@link #getServerKeyStoreDirectory()}.

@return a File that points to the master keystore file
@see #getServerKeyStoreDirectory()
@see #MASTER_KEYSTORE_FILENAME_DEFAULT
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java