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

Błąd SSL na kompilacji snapshot openwrt #2

Closed
kuncy7 opened this issue May 31, 2024 · 8 comments
Closed

Błąd SSL na kompilacji snapshot openwrt #2

kuncy7 opened this issue May 31, 2024 · 8 comments

Comments

@kuncy7
Copy link

kuncy7 commented May 31, 2024

Cześć,
Jak próbuję dodać Twoje repozytorium na mojej kompilacji (snapshot) dostaję taki błąd:

root@OpenWrt:~# wget https://github.com/4IceG/Modem-extras/raw/main/myrepo/IceG-repo.pub -O /tmp/IceG-repo.pub
Downloading 'https://github.com/4IceG/Modem-extras/raw/main/myrepo/IceG-repo.pub'
Connecting to 140.82.121.3:443
Redirected to /4IceG/Modem-extras/main/myrepo/IceG-repo.pub on raw.githubusercontent.com
SSL error: SSL - Bad input parameters to function
Connection error: Connection failed
root@OpenWrt:~# 

Po zainstalowaniu pełnego wget-ssl , błąd znika i repozytorium się dodaje.

@4IceG
Copy link
Owner

4IceG commented May 31, 2024

Siemanko,
Kolego @kuncy7 przecież repozytorium działa (jak sam to napisałeś), więc nie mam co tu naprawiać.
Strzelam, że jakbyś dodał do linku powyżej parametr wget --no-check-certificate.. to mogłoby się też pobrać bez SSL error.

@davidohne
Copy link

--no-check-certificate works when adding the repository but opkg update is still broken then. My solution is at the moment to install wget-ssl before. Then everything works as expected.

opkg install wget-ssl

@kuncy7
Copy link
Author

kuncy7 commented Jun 1, 2024

Wiadomo że wget-ssl rozwiązuje problem.
Dziwne jest dla mnie tylko to że bez niego (wget-ssl) repozytoria openwrt czytają się prawidłowo, a Twoje mają ten błąd.
Może openwrt jakoś inaczej (inne biblioteki SSL) generuje certyfikaty, stąd ten: " Bad input parameters to function" ??

@4IceG
Copy link
Owner

4IceG commented Jun 1, 2024

Szukając rozwiązania/wyjaśnienia natrafiłem na ten wątek openwrt/openwrt#15427 oraz openwrt/uclient#4.

@kuncy7
Copy link
Author

kuncy7 commented Jun 1, 2024

Właśnie wgrałem na majego AW1000 najnowszy snapshot nss od @qosmio tyle że skompilowany z biblioteką openssl
i z nią ten problem nie występuję. Twoje repozytorium dodało się bez problemu.
Czyli to (chyba) nie problem klienta, a biblioteki której używa.

@4IceG
Copy link
Owner

4IceG commented Jun 2, 2024

Czyli to (chyba) nie problem klienta, a biblioteki której używa.

Na to wygląda. Ilu użytkowników, tyle wariacji konfiguracji.

Repo działa, więc może ktoś z niego skorzysta.

@kuncy7
Copy link
Author

kuncy7 commented Jun 2, 2024

To mamy wyjaśnione, dziękuję. Zamykam zgłoszenie

@kuncy7 kuncy7 closed this as completed Jun 2, 2024
@MiG-41
Copy link

MiG-41 commented Jun 11, 2024

A ja przed chwilą wgrałem do mojego aw1000 fw od AgustinLorenz i tam jest błąd SSL...
root@OpenWrt:~# wget https://github.com/4IceG/Modem-extras/raw/main/myrepo/IceG-repo.pub -O /tmp/IceG-repo.pub Downloading 'https://github.com/4IceG/Modem-extras/raw/main/myrepo/IceG-repo.pub' Connecting to 140.82.121.4:443 Redirected to /4IceG/Modem-extras/main/myrepo/IceG-repo.pub on raw.githubusercontent.com SSL error: SSL - Bad input parameters to function Connection error: Connection failed root@OpenWrt:~#

I tak ,trzeba zainstalować wget-ssl...

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

4 participants