Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Certificates invalid #377

Open
lordfolken opened this issue Jul 25, 2024 · 3 comments
Open

SSL Certificates invalid #377

lordfolken opened this issue Jul 25, 2024 · 3 comments

Comments

@lordfolken
Copy link
Contributor

lordfolken commented Jul 25, 2024

i installed current testing image today on my openvario.
While everything works as expected, i found two problems after createing a wifi connection with connman:

wget on the console seems to work fine.
Downloads work fine on amd64 plain xcsoar.

@DanD222
Copy link
Contributor

DanD222 commented Aug 21, 2024

A workaround for this on existing OpenVario devices is to:

  1. Connect the OpenVario to the Internet using e.g. an Android phone with USB Tethering enabled, via a USB cable
  2. Exit to the shell
  3. Run the update-ca-certificates -f command
  4. Reboot the OpenVario

WeGlide integration for example will then work over WiFi again

@lordfolken
Copy link
Contributor Author

update-ca-certificates shouldn't need an internet connection?

All this does is build all the keystores (java,mono, systemwide ca-certificates,etc) from /etc/ssl/certs/ /usr/share/ca-certificates.

This seems to be executed upon installation of the package:

https://github.com/openembedded/openembedded-core/blob/hardknott/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb#L69

There is also a ca-certificates file in the resulting image:
-rw-r--r-- 1 root root 191K Mar 9 2018 ca-certificates.crt

But if its from 2018...

@lordfolken
Copy link
Contributor Author

So I tried it today. The CAs are too old. For example thermalmap.info wouldnt connect.

I downloaded the Mozilla cert store from https://curl.se/docs/caextract.html

Moved that into place of /etc/ssl/certs/ca-certificates.crt.

After restarting timesyncd to sync the time, I could download rasps from thermalmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants