Local SSL Cert

Hello! Trying to setup Local SSL certificate using the instructions here: https://runtipi.io/docs/guides/local-certificate Couple items: 1. The page says: The default domain for the certificate is tipi.lan. But when i see the certificate that i downloaded from settings, it reads as tipi.local (which is what is in the local domain in Runtipi' settings page) 2. Anyways, i added both .lanand .local to my local AdGuard DNS rewrites section and from the query logs in AdGuard, i see the responds to .lan and NOT to .local ! 3. And when i try it in a browser - it comes back with 404 page not found ! Any idea what is going on and what i am missing?
No description
No description
13 Replies
Stavros
Stavros2mo ago
Try to remove the certificates rm -f traefik/tls/cert.pem traefik/tls/cert.key then restart runtipi to regenerate the certificates Then visit the domain, download the certificate, trust it and restart your browser
bobuncle
bobuncleOP2mo ago
I need to execute this command on the machine that is hosting / running runtipi.. is that correct?
Stavros
Stavros2mo ago
Yeah inside the runtipi directory
bobuncle
bobuncleOP2mo ago
Okay.. ran that command, restarted runtipi, downloaded the certificate and still comes back with 404 page not found Tried it in private browsing and still get the same.
No description
Stavros
Stavros2mo ago
But tipi.local responds? What local domain have you set in the settings?
bobuncle
bobuncleOP2mo ago
tipi.local is what is setup
No description
bobuncle
bobuncleOP2mo ago
No it does not. The browser sits there spins for a while and comes back with Site cant be reached
bobuncle
bobuncleOP2mo ago
here is what tipi.local comes back with
No description
Stavros
Stavros2mo ago
This means that your DNS isn't resolving it If you have configured tipi.local in the settings then the certificates will be for tipi.local Tipi.lan is not related to your setup
bobuncle
bobuncleOP2mo ago
Thats exactly why i posted here since it does not make sense to me either.. Here is what shows up in the Adguard query log and what is setup on the DNS rewrite
No description
No description
bobuncle
bobuncleOP2mo ago
Also per adguard the DNS rerwite seems to be working!!
No description
bobuncle
bobuncleOP2mo ago
Interestingly here is what i get with a nslookup. Any ideas what is going on?
nslookup tipi.lan Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: tipi.lan Address: 192.168.5.10
nslookup tipi.local ;; Got SERVFAIL reply from 127.0.0.53 Server: 127.0.0.53 Address: 127.0.0.53#53 ** server can't find tipi.local: SERVFAIL
Stavros
Stavros2mo ago
Seems like your DNS server isn't responding with a result

Did you find this page helpful?