srvrco / getssl

obtain free SSL certificates from letsencrypt ACME server Suitable for automating the process on remote servers.
GNU General Public License v3.0
2.07k stars 372 forks source link

./getssl -c domainame gives curl: (6) Could not resolve host: api.github.com getssl: curl error checking releases: 6 #805

Open sc2317 opened 1 year ago

sc2317 commented 1 year ago

Running ./getssl -c domainname -w workingdirectory gives below error curl: (6) Could not resolve host: api.github.com getssl: curl error checking releases: 6

Is it necessary to resolve to api.github.com ?

timkimber commented 1 year ago

Hi @sc2317 That's the update check to see if you are running the latest version.
If you can't do that check, then you can disable it by passing the -U (or --nocheck) flag when you run getssl

i.e.

./getssl --nocheck -c domainname -w workingdirectory

Thanks Tim

sc2317 commented 1 year ago

Hi Tim, Thanks for the inputs. Can you please help in understanding where do I need to provide the EAB Key ID and HMAC Key in order to use this script ? Sorry, if this is not the right section to ask but could not find any other way because I don't see any reference to these in the gettssl.cfg file created by this script.

timkimber commented 1 year ago

Hi @sc2317

Sorry for the late response, I must have missed your reply.

getssl doesn't support EAB/HMAC, I'll add it to my todo list as I see that's now required to create certificates using ACME for GoDaddy.

githubRover commented 1 year ago

Required for ZeroSSL and relatively new Google CA support for ACME too

gereoffy commented 3 weeks ago

is there any progress on EAB support? func get_eab_json() looks interesting but is not used?

timkimber commented 3 weeks ago

Hi @gereoffy

I've not had a lot of time to look at anything getssl related recently. I'm currently away, but will add this to my todo last for when I get back as it shouldn't take long (from memory that function does most of the work needed)