agave-systems/systems-core/src/main/java/org/iplantc/service/systems/model/RemoteSystem.java
/**
	 * Creates a unique temp directory to hold the trusted ca certs for this
	 * system.
	 *
	 * @param authConfig
	 * @return TrustedCALocation containing location of temp ca cert directory
	 * @throws MalformedURLException
	 * @throws IOException
	 */
Creates a unique temp directory to hold the trusted ca certs for this
system.

@param authConfig
@return TrustedCALocation containing location of temp ca cert directory
@throws MalformedURLException
@throws IOException
Creates a unique temp directory to hold the trusted ca certs for this system . @param authConfig @return TrustedCALocation containing location of temp ca cert directory @throws MalformedURLException @throws IOException
public TrustedCALocation installTrustedCACertifcates(AuthConfig authConfig)
	throws MalformedURLException, IOException
	{
		String trustedCADir = null;
		if (StringUtils.isEmpty(authConfig.getTrustedCaLocation())) {
			trustedCADir = null;
		} else {
			trustedCADir = System.getProperty("java.io.tmpdir")
				+ File.separator + Slug.toSlug(getTenantId())
				+ File.separator + Slug.toSlug(getSystemId());
		}
		TrustedCALocation trustedCALocation = new TrustedCALocation(trustedCADir);
		trustedCALocation.fetchRemoteCACertBundle(authConfig.getTrustedCaLocation());
		return trustedCALocation;
	}
public TrustedCALocation installTrustedCACertifcates ( AuthConfig authConfig ) throws MalformedURLException , IOException { String trustedCADir = null ; if ( StringUtils . isEmpty ( authConfig . getTrustedCaLocation ( ) ) ) { trustedCADir = null ; } else { trustedCADir = System . getProperty ( "java.io.tmpdir" ) + File . separator + Slug . toSlug ( getTenantId ( ) ) + File . separator + Slug . toSlug ( getSystemId ( ) ) ; } TrustedCALocation trustedCALocation = new TrustedCALocation ( trustedCADir ) ; trustedCALocation . fetchRemoteCACertBundle ( authConfig . getTrustedCaLocation ( ) ) ; return trustedCALocation ; }
Creates a unique temp directory to hold the trusted ca certs for this
 system.
Creates a unique temp directory to hold the trusted ca certs for this system .