webosbrew / webos-homebrew-channel

Unofficial webOS TV homebrew store and root-related tooling
MIT License
810 stars 42 forks source link

Certificate error when installing apps: "unable to get local issuer certificate" #179

Open AntonFaer opened 4 months ago

AntonFaer commented 4 months ago

17107146850928744775656814682801

Seems like all apps give this kind of error Anybody knows how to fix this issue? Thanks

johnblack593 commented 2 months ago

English:

Thank you very much for your valuable help, in order to help others I will leave in this message the steps that I followed and that helped me to install the most recent version of YouTube Adfree.

I did this with the TV newly formatted and using homebrew (Rootmy.tv).

  1. From an Android cell phone, install the Connectbot app.

  2. Open homebrew and enable SSH, then reboot to apply changes.

  3. Register an SSH connection in Connectbot.

curl -k -L -o /tmp/app.ipk 'https://github.com/webosbrew/youtube-webos/releases/download/v0.3.4/youtube.leanback.v4_0.3.4_all.ipk'

Then use

luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

Open homebrew, deactivate SSH and then restart, the application should already be in the home.

These steps were provided by the user "1basti1" and that I, in order to facilitate the installation of the most recent version, wrote it in the simplest way possible, I am not a programmer and I do not know about these topics, however every time the ads They are more unbearable and I ventured to carry out this method, I always used homebrew, but because from time to time I format my TV to keep it fast, I found myself with this situation of the certificate problem, I had homebrew and the app developer to obtain the data to make the connection, strangely after the restart even the homebrew was uninstalled, I formatted the TV and followed the steps that I described in this message and now I have YouTube and Homebrew working.

Thanks to the homebrew development team for giving us the opportunity to do justice to the abuse suffered by LG and Google users.

By any chance you don't know of any ipk packet for an M3U player?

I used IPTV SMARTERS, however due to a conflict of interest of that company, the free app no longer works, now there is another paid application with the same name and logo that charges a license, I bought a license but I keep 2 LG Smart TVs, so I only have the application in one, if you suddenly know of an app that can be installed through this SSH means, I would be more than grateful.

Spanish:

Muchas gracias por su valiosa ayuda, con el fin de ayudar a otros dejare en este mensaje los pasos que seguí y me sirvieron para instalar la versión más reciente de YouTube Adfree.

Esto lo hice con el TV recién formateado y usando el homebrew (Rootmy.tv).

  1. Desde un celular Android instale la app Connectbot.

  2. Abrir homebrew y habilitar SSH, luego reiniciar para aplicar cambios.

  3. Registrar en Connectbot una conexión SSH.

curl -k -L -o /tmp/app.ipk 'https://github.com/webosbrew/youtube-webos/releases/download/v0.3.4/youtube.leanback.v4_0.3.4_all.ipk'

Luego usar

luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

Abrir homebrew, desactivar el SSH y luego reiniciar, ya debería estar la aplicacion en el home.

Estos pasos fueron proporcionados por el usuario "1basti1" y que yo con el fin de facilitar la instalación de la versión más reciente, redacte de la forma más sencilla posible, no soy programador y no se de estos temas, sin embargo cada vez los anuncios son más insoportables y me aventure a realizar este método, siempre use homebrew, pero debido a que cada cierto tiempo formateo mi TV para que se mantenga rápido, me encontré con esta situación del problema del certificado, tenía homebrew y la app developer para obtener los datos para realizar la conexion, extrañamente luego del reinicio hasta el homebrew se me desinstalo, formatee el TV y realice los pasos que describí en este mensaje y ahora tengo el YouTube y el Homebrew funcionando.

Gracias al equipo de desarrollo de homebrew por darnos la posibilidad de hacer justicia ante el atropello que sufrimos los usuarios de LG y Google.

De casualidad no sabrán de algún paquete ipk de un reproductor M3U?

Usaba IPTV SMARTERS, sin embargo por conflicto de intereses de esa empresa, la app gratuita ya no funciona, ahora existe otra aplicación de paga con el mismo nombre y mismo logo qué cobra licencia, compre una licencia pero mantengo 2 Smart TV LG, por lo que solo en uno tengo la aplicacion, si de pronto conocen alguna app instalable por este medio SSH, les estaría más que agradecído.

faberdonax commented 2 months ago

Great guide! Thanks for these step by step instructions! Worked like a charm.

kocane commented 1 month ago

@MROLLS1 I'm on 05.30.11 with my LG C9, and I'd much like to get the certificate error fixed. Which firmware did you update to and how? Just thru the menu of the TV? Are any of the C9 firmwares rootable still?

irishj commented 1 month ago

Same issue here, LG C9 (OLED55C9PLA) - webOS 4.9.7-17 / Software 05:30:40

Can't install any apps directly from HB store, need to manually download and install.

frosty3907 commented 1 month ago

Managed to update apps per instruction but is there a fix incoming for this?

throwaway96 commented 1 month ago

This build should fix all the cert problems, but it needs testing: https://github.com/throwaway96/webos-homebrew-channel/releases/tag/v0.7.0-test1

If your TV is rooted, you must make sure elevation is maintained when installing a new Homebrew Channel version.

Installing the Safe Updater app beforehand is advised. Launch it at least once before messing with Homebrew Channel so it can elevate itself. As long as it's working, you should be able to recover from any issues with Homebrew Channel.

You can install a new Homebrew Channel version with Dev Manager (which should take care of elevation automatically) or manually (in which case you need to run the elevate-service script yourself before rebooting).

If you're not sure, it won't hurt to run elevate-service an extra time (as it should be idempotent). The full path is:

/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service`

Another option is adding my repo (see README) in Homebrew Channel and installing the test build that way. Elevation will be taken care of.

bombenbodo commented 1 month ago

I can confirm homebrew is working fine again on WebOS 3

"hardware_id": "HE_DTV_W16H_AFADABAA",
"product_id": "OLED65G6V-Z",
"core_os_release": "3.4.0-6007",
"webos_manufacturing_version": "05.60.30",

I installed the test-build via your personal repo. I had to figure out how to reenable the "install/reinstall"-button though, well pressing '5' on the remote in details view of 'Homebrew Channel (test)' did it.

Is there anything else I need to do? I'm still having the old expired DST_Root_CA_X3.crt installed in /usr/share/ca-certificates/mozilla/ Do I need to manually replace it somehow or can I safely ignore it? And I'm still running startup scripts for letsencrypt ca-cert fixes in /var/lib/webosbrew/init.d/

Can those be safely removed now?

eduardhojbota commented 3 days ago

This build should fix all the cert problems, but it needs testing: https://github.com/throwaway96/webos-homebrew-channel/releases/tag/v0.7.0-test1

If your TV is rooted, you must make sure elevation is maintained when installing a new Homebrew Channel version.

Installing the Safe Updater app beforehand is advised. Launch it at least once before messing with Homebrew Channel so it can elevate itself. As long as it's working, you should be able to recover from any issues with Homebrew Channel.

You can install a new Homebrew Channel version with Dev Manager (which should take care of elevation automatically) or manually (in which case you need to run the elevate-service script yourself before rebooting).

If you're not sure, it won't hurt to run elevate-service an extra time (as it should be idempotent). The full path is:

/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service`

Another option is adding my repo (see README) in Homebrew Channel and installing the test build that way. Elevation will be taken care of.

I can confirm this works.