> For the complete documentation index, see [llms.txt](https://www.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.osdeploy.com/archive/go-osdcloud/ssl-binding.md). Agents can also search and read this documentation through its [MCP server](https://www.osdeploy.com/~gitbook/mcp).

# SSL Binding

Azure Function App

## Open Private Key Certificate

Now that you have added your Custom Domain, you will need to create an SSL Certificate for proper HTTPS redirection. Complete the following steps

1. **TLS/SSL settings**
2. **Private Key Certificates (.pfx)**
3. **Create App Service Managed Certificate**

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FsS8JM63QlwkIYEyFqLpm%2Fimage.png?alt=media\&token=75a60740-6f59-4b0d-be4b-f6c61ca75eda)

## Create Private Key Certificate (.pfx)

* **Select your subdomain from the combo box**
* **Press Create**

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FbBiTVpSCxLNF6GUWA2bp%2Fimage.png?alt=media\&token=81e085a4-12a0-4ad3-96d7-8afb06fce5cd)

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FncTGoBh2mS16lsqUMj7u%2Fimage.png?alt=media\&token=218f145e-1765-41cb-ac6e-06d2a1f3b62c)

## Add TLS/SSL Binding

1. **Select Custom domains**
2. **Add binding**
3. **Select your Custom domain from the combo box**
4. **Select your Private Certificate from the combo box**
5. **Select the TLS/SSL type from the combo box**
6. **Press Add Binding**

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FfqnSONLbddvCe3blazvs%2Fimage.png?alt=media\&token=037fd6cc-53ec-44a2-b283-dd27fed5d0fb)

## Set HTTPS Only

1. **Custom domain should have an SSL Binding**
2. **Toggle HTTPS Only: On**

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FukbV37nQUjkAtZ1eqYk1%2Fimage.png?alt=media\&token=5600c01c-d66f-4097-bbf8-12d44371b00d)

## Test Custom Domain

Give it a quick test with and without HTTPS

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FtnWIiop3x2Y86H2QRg2y%2Fimage.png?alt=media\&token=d2dd8f84-9e47-4738-bd03-c37659eff81e)

## Sponsor

**OSDeploy is sponsored by** [**Recast Software**](https://www.recastsoftware.com/?utm_source=osdeploy\&utm_medium=ad\&utm_campaign=web) **and their Systems Management Tools**

{% embed url="<https://www.recastsoftware.com/?utm_source=osdeploy&utm_medium=ad&utm_campaign=web>" %}
Sponsored by Recast Software
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.osdeploy.com/archive/go-osdcloud/ssl-binding.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
