---
title: "corestack_site_cloudflare_ssl_set"
url: https://docs.corefinity.com/mcp/tools/corestack_site_cloudflare_ssl_set
type: tool
last_updated: 2026-11-13
feature: cloudflare
related:
  - https://docs.corefinity.com/api/reference/domains/update-site-cloudflare-ssl-mode.md
  - https://docs.corefinity.com/guides/sites/go-live/cloudflare-for-a-site.md
---
# corestack_site_cloudflare_ssl_set

**Set a site's Cloudflare SSL mode.** Set the SSL/TLS mode of a row's Cloudflare zone: Full, or Full (strict). It applies to the whole zone at Cloudflare. Scope: write.

- Scope: `write`
- Runs as a task: no

## When to use it

Set the SSL/TLS mode of a row's Cloudflare zone: Full, or Full (strict). It applies to the whole zone at Cloudflare.

## Inputs

- `site_id` (integer, ≥ 1, required)
- `value` (one of `full`, `strict`, required)

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "site_id": {
      "minimum": 1,
      "type": "integer"
    },
    "value": {
      "enum": [
        "full",
        "strict"
      ],
      "type": "string"
    }
  },
  "required": [
    "site_id",
    "value"
  ],
  "type": "object"
}
```

## Refusals

- `no_zone`: the domain's DNS zone is not in the connected Cloudflare account; point DNS by hand.
- `not_connected`: no Cloudflare connection can write this zone; connect Cloudflare or point DNS by hand.
- `busy` (message: "Another change to a Cloudflare zone is being made just now. Try again in a minute."): a site migration is switching DNS into this zone or putting its SSL/TLS mode back right now; nothing was changed, so try again in a minute (the REST API sends `Retry-After: 60` with it).
- `managed_elsewhere` (message: "This site is managed by another control panel"): another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).

## Example

```json
{
  "name": "corestack_site_cloudflare_ssl_set",
  "arguments": {
    "site_id": 4211,
    "value": "full"
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_site_cloudflare_ssl_set with site_id 4211, value full. (Set a site's Cloudflare SSL mode.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [PUT /api/corestack/sites/{site}/cloudflare-zone/ssl](https://docs.corefinity.com/api/reference/domains/update-site-cloudflare-ssl-mode.md)
- Guide: [Cloudflare for a site](https://docs.corefinity.com/guides/sites/go-live/cloudflare-for-a-site.md)
