Please follow the below template, it will help us to help you!
Expected Behaviour:
Attempting to install pi-hole with the provided curl command
Actual Behaviour:
Receive the error:
curl -sSL https://install.pi-hole.net | bash
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
I have visited the page linked in the error, but it does not seem applicable to my setup. I'm running a pretty simple Ubuntu 18 server, not behind any sort of proxy.
Debug Token:
I have no debug token as the install will not progress.
Thanks for the quick reply. I had tried the -k option with no success before but decided to give it another shot. First though, the output from your cert suggestion:
Server:~$ apt-cache policy ca-certificates
ca-certificates:
Installed: 20180409
Candidate: 20180409
Version table:
*** 20180409 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages
100 /var/lib/dpkg/status
Server:~$ curl -sSLk https://install.pi-hole.net | bash
bash: line 1: timestamp:1534357370329: command not found
pi@noads:~ $ host install.pi-hole.net
install.pi-hole.net is an alias for guinan.pi-hole.io.
guinan.pi-hole.io has address 78.46.180.80
guinan.pi-hole.io has IPv6 address 2a01:4f8:1c17:4605::1
That looks all good.
But I have no idea why the SSL error
EDIT: hold on, this bit is weird and could mean a cert error on the Pi-hole web end ????
Validity
Not Before: Aug 8 17:13:19 2018 GMT
Not After : Aug 8 17:13:19 2019 GMT
Maybe a @webmaster can have a looksee ???
EDIT2: I was wrong and missed out on the year (expecting letsencrypt validity period) ... oops
Yea, given that I'm getting the same results you are I can't figure out why I'm seeing an SSL error, and why disabling the certificate check leads to an issue with the downloaded file. It's very strange!