Move truststore_certificate default attribute logic to provider since its not available during compilation phase