Lets encrypt
(Created page with "Lets encrypt issues free shortlived SSL certs - you can set up azure to renew them automatically: <nowiki>https://www.hanselman.com/blog/SecuringAnAzureAppServiceWebsiteUnder...")
 
No edit summary
Line 4: Line 4:


Lets encrypt
Lets encrypt
 
# Add custom domain
1. Add custom domain
# Azure AD , App reg:  xxxxLetsEncrypt
 
## remember AppId: xxxxxxxx
2. Azure AD , App reg:  xxxxLetsEncrypt
# add secret - name it login  yyyyyyyy
 
# Resource group running xxx, AccessControl, add permission, contributor , your app xxxLetsEncrypt should be contributor
remember AppId: xxxxxxxx
# go to the app service in azure portal xxx, Extensions, Azure Lets Encrypt, you must add connection strings in setting
 
## AzureWebJobsDashboard
add secret - name it login  yyyyyyyy
## AzureWebJobsStorage  , both with the same valeu: connection string to your storage account
 
# configure extension  <nowiki>http://YOURSITENAME.scm.azurewebsites.net/LetsEncrypt</nowiki>
3. Resource group running xxx, AccessControl, add permission, contributor , your app xxxLetsEncrypt should be contributor
## ...follow the guide/next - you get a box with your domain names, select one +request and install, repeat, ->  you now have certs
 
# go back to app and use them on your custom domains, turn on always SSL
4. go to the app service in azure portal xxx, Extensions, Azure Lets Encrypt, you must add connection strings in setting
 
AzureWebJobsDashboard
 
AzureWebJobsStorage  , both with the same valeu: connection string to your storage account
 
5. configure extension  <nowiki>http://YOURSITENAME.scm.azurewebsites.net/LetsEncrypt</nowiki>
 
...follow the guide/next - you get a box with your domain names, select one +request and install, repeat, ->  you now have certs
 
6 go back to app and use them on your custom domains, turn on always SSL

Revision as of 11:02, 31 July 2020

Lets encrypt issues free shortlived SSL certs - you can set up azure to renew them automatically:

https://www.hanselman.com/blog/SecuringAnAzureAppServiceWebsiteUnderSSLInMinutesWithLetsEncrypt.aspx

Lets encrypt

  1. Add custom domain
  2. Azure AD , App reg:  xxxxLetsEncrypt
    1. remember AppId: xxxxxxxx
  3. add secret - name it login  yyyyyyyy
  4. Resource group running xxx, AccessControl, add permission, contributor , your app xxxLetsEncrypt should be contributor
  5. go to the app service in azure portal xxx, Extensions, Azure Lets Encrypt, you must add connection strings in setting
    1. AzureWebJobsDashboard
    2. AzureWebJobsStorage  , both with the same valeu: connection string to your storage account
  6. configure extension  http://YOURSITENAME.scm.azurewebsites.net/LetsEncrypt
    1. ...follow the guide/next - you get a box with your domain names, select one +request and install, repeat, ->  you now have certs
  7. go back to app and use them on your custom domains, turn on always SSL
This page was edited 86 days ago on 02/10/2024. What links here