static String getTrustStoreLocation( ConnectionType type )
    {
        final String propertyName = type.getPrefix()  + "truststore";
        final String defaultValue;

        // OF-1191: For client-oriented connection types, Openfire traditionally uses a different truststore.
        if ( type.isClientOriented() )
        {
            defaultValue = "resources" + File.separator + "security" + File.separator + "client.truststore";
        }
        else
        {
            defaultValue = "resources" + File.separator + "security" + File.separator + "truststore";
        }

        if ( type.getFallback() == null )
        {
            return JiveGlobals.getProperty( propertyName, defaultValue ).trim();
        }
        else
        {
            return JiveGlobals.getProperty( propertyName, getTrustStoreLocation( type.getFallback() ) ).trim();
        }
    }
The location (relative to OPENFIRE_HOME) of the trust store for connections created by this listener.

@return a path (never null).
xmppserver/src/main/java/org/jivesoftware/openfire/keystore/CertificateStoreManager.java