> 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/guides/go-osdcloud/ssl-binding.md).

# SSL Binding

## 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**

![](/files/D0R9Q18sfqsspieqy6UX)

## Create Private Key Certificate (.pfx)

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

![](/files/wmAbPDm1U1wSWZiJfw4Z)

![](/files/lYP3T6XaeAZaDjxOkFy0)

## 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**

![](/files/7nLEpDSAU0wYMh0cDulo)

## Set HTTPS Only

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

![](/files/AdEN3VbRfbxRlRIkF6Cu)

## Test Custom Domain

Give it a quick test with and without HTTPS

![](/files/8ABqiFiw4zguUJ2fbEqe)

## 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
