ddvk / rmfakecloud-proxy

MIT License
9 stars 6 forks source link

After 'automagic' script ran, proxy shows "x509: certificate signed by unknown authority" #3

Closed alexg-k closed 3 years ago

alexg-k commented 3 years ago

After I run sh -c "$(wget https://raw.githubusercontent.com/ddvk/rmfakecloud/master/scripts/device/automagic.sh -O-)" and type my URL, the scripts finishes as expected.

wget -qO- https://local.appspot.com results in: wget: note: TLS certificate validation not implemented wget: server returned error: HTTP/1.1 502 Bad Gateway

systemctl status proxy shows: Oct 16 15:17:18 reMarkable rmfake-proxy[6273]: 2021/10/16 15:17:18 http: proxy error: x509: certificate signed by unknown authority

Any ideas how I can proceed would be appreciated! rmapi connected to rmfakecloud just fine.

alexg-k commented 3 years ago

Got it. The certificate I was using on the server side signed by "Let’sEncrypt DST Root CA R3" was not accepted. I added the CA to the tablet and it does now connect.