fly status fails with:
~/Projects-Scala/code-to-screen-scala/ [master] fly status
Error: failed to list active VMs: Get "https://api.machines.dev/v1/apps/code-to-screen/machines": tls: failed to verify certificate: x509: certificate signed by unknown authority
As it was suggested in a previous post where I asked the same, when I do
curl -v https://api.machines.dev
I get
~/Projects-Scala/code-to-screen-scala/ [master] curl -v https://api.machines.dev
* Trying 137.66.34.115:443...
* Connected to api.machines.dev (137.66.34.115) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* CAfile: /etc/ssl/cert.pem
* CApath: none
* [CONN-0-0][CF-SSL] TLSv1.2 (OUT), TLS handshake, Client hello (1):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS handshake, Server hello (2):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS handshake, Certificate (11):
* [CONN-0-0][CF-SSL] TLSv1.2 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: self signed certificate in certificate chain
* Closing connection 0
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS handshake, Certificate (11):
* [CONN-0-0][CF-SSL] TLSv1.2 (OUT), TLS alert, unknown CA (560):
curl: (60) SSL certificate problem: self signed certificate in certificate chain
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.
I don’t know whether this is a temporal issue or not because in the past I got the same error but, two days after, it worked ok.