Azure websites with SSL on custom domains
By : chen
Date : March 29 2020, 07:55 AM
will be helpful for those in need Turns out the certificate itself was wrong. I received a crt certificate which I had to convert to pfx. I neglected to supply a private key with that. The pfx was constructed without private key. Azure doesn't complain about it, but it just doesn't work. code :
openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
|
Where are my azure custom domains
By : Shomron David
Date : March 29 2020, 07:55 AM
|
Azure Web Site App with multiple custom domains
By : Kyle
Date : March 29 2020, 07:55 AM
it fixes the issue According to your description, I have mapped multiple custom domains to my web app. It works well, the result as below: code :
string subscription = "subscriptionid";
string client = "clientid";
string key = "clientkey";
string tenant = "tenantid";
var credentials = SdkContext.AzureCredentialsFactory.FromServicePrincipal(client,key,tenant,AzureEnvironment.AzureGlobalCloud);
var azure = Azure
.Configure()
.WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
.Authenticate(credentials)
.WithDefaultSubscription();
//List the hostname
var resut = azure.WebApps.GetByResourceGroup("ResourceGroupName", "WebappName").EnabledHostNames; ;
var app1 = azure.WebApps.GetByResourceGroup("ResourceGroupName", "WebappName");
//Delete the hostname
app1 = app1.Update().WithoutHostnameBinding("yourCustomDomain").Apply();
|
Azure VM with multiple custom domains
By : ahmed
Date : March 29 2020, 07:55 AM
seems to work fine no, for azure vm you can have as many custom domain, because they are just CNAME records not sure why you would need hosts file, that is certainly one way to do it, but not for front facing apps. you would need your hosts file changes for anybody accessing the site. this is more of a question to your DNS provider, but they usually have some sort of API you can talk to >> so you can automate this. well, you can achieve scalability, but its not going to be straight forward (compared to App Services). You would need either vms with availability set or vmss (virtual machine scale set). You would also need a process to update your code on them and probably several other things (like how to install certificates etc).
|
Restricting access to custom domains in Azure AD
By : user2698712
Date : March 29 2020, 07:55 AM
should help you out No you cannot restrict user to view specific custom domain at azure active directory at this moment. Azure active directory does not have this feature. You can use an allow list or a deny list to allow or block invitations to users from specific organizations. You could take a look here
|