sjkp / letsencrypt-azure

The easiest way to use lets encrypt certificates on Azure
108 stars 34 forks source link

Godaddy support #2

Open paranoid69 opened 5 years ago

paranoid69 commented 5 years ago

Ok, not an issue as such, I just can't find any reference to the setup for Godaddy support, yes its only been here for a few days and yes I'm impatient, apologies. I'm ready and willing to test out any Godaddy setup, I got the extension installed in the last couple of days and found the wildcard issue so this is all very new to me.

Your efforts very much appreciated Simon.

sjkp commented 5 years ago

The example code that the Deploy to azure uses, only supports azure dns. If you want to use godaddy or any other provider you will have to change a little in the Helper.cs function. It is this line you have to change

 serviceCollection.AddAcmeClient<AzureDnsProvider>(Configuration.GetSection("DnsSettings").Get<AzureDnsSettings>());

E.g to

serviceCollection.AddAcmeClient<GoDaddyDnsProvider>(Configuration.GetSection("DnsSettings").Get<GoDaddyDnsProvider>());

When using godaddy you need to have the following app settings GoDaddyApiKey GoDaddyShopperId GoDaddyApiSecret With the values from your godaddy account.

InteXX commented 4 years ago

@sjkp

Could you provide a little more detail? I'm not sure where/how to do this.

Also, this seems to be applicable to Azure Web Apps with GoDaddy-hosted DNS (which is my situation). Am I correct here?

Ben-krebs commented 2 years ago

@sjkp I am in the same boat as @InteXX. we have our DNS hosted in Godaddy and are looking to use this template for wildcard SSL certificates.

Are you saying that to use something other than Azure DNS we need to download the code modify the line above and deploy it to Azure ourselves?