I get
curl https://hub.api.surehub.io
curl: (7) Failed to connect to hub.api.surehub.io port 443: No route to host
with the docker stopped,
and
curl https://hub.api.surehub.io
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.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.
with it running.
Would I expect to see certificate errors? Pethublocal should be pretending to be the real server at this point?
Or is this because I’m running this from a PC and not from the hub?
curl https://hub.api.surehub.io -v
* Trying 10.10.30.152:443...
* Connected to hub.api.surehub.io (10.10.30.152) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: none
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: self signed certificate
* Closing connection 0
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.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.
Edit:
Just noticed that a http curl gets logge in the pethublocal log, but a https curl doesn’t presumably because its failing the certificate check and going no further. Is there a way to log failed attempts? That would be helpful to see if the hub attempts are making it through.