Pass certificate and key format as string to curl