microsoft / AzureTRE

An accelerator to help organizations build Trusted Research Environments on Azure.
https://microsoft.github.io/AzureTRE
MIT License
184 stars 143 forks source link

How can I use my own certificate, not letsencrypt? #4062

Open TonyWildish-BH opened 3 months ago

TonyWildish-BH commented 3 months ago

Description

In my Azure TRE deployment I am trying to use a custom domain and our own certificate, not one from letsencrypt. I know of the page at https://microsoft.github.io/AzureTRE/unreleased/tre-admins/custom-domain/ that describes how to set up the custom domain, but that still refers to letsencrypt.

How do I replace the certificate from letsencrypt with my own in a stable and supportable manner?

tim-allen-ck commented 3 months ago

Hi @TonyWildish-BH, you would just overwrite the existing cert called letencrypt in the keyvaut and link to the app gw. not an ideal name for a cert. Guess you could add a script to do it for you. Similar to the letsencrypt.sh script, but with you specific provider