caprover / caprover-cli

Command Line Interface for https://github.com/caprover/caprover
72 stars 40 forks source link

Error: self signed certificate (Local network) #141

Closed cabaalexander closed 3 months ago

cabaalexander commented 3 months ago

I'm working on a local network (raspberry setup). I'm setting up caprover on a raspberry headless and access it on other devices.

When I try to use caprover login it fails because of the certificate but I'm using local IP: captain.10.0.0.37.sslip.io.

It tried to use HTTPS, but then I tried to force it to HTTP and those did not work.

Here are some logs as an example:

If my root domain is set to captain.10.0.0.37.sslip.io should this work to login ?

I'd want to set up caprover completly on my local network and then as I need public access I should forward the ports and link the domain and stuffs.

cabaalexander commented 3 months ago

I discovered myself that I miss to add the subdomain captain.* so instead of:

captain.10.0.0.37.sslip.io

it should be:

captain.captain.10.0.0.37.sslip.io

My bad.