-
Fototrend
TP-Link WR1043ND - N450 router
Új hozzászólás Aktív témák
-
vargalex
Topikgazda
válasz
dash17291
#18736
üzenetére
Hi!
A hibák logolásához szerintem ennyi módosítás elég:
#here we actually connect, and perform the update
update_output=$( $retrieve_prog "$final_url" 2>&1 )
verbose_echo "Update Output:"
verbose_echo "$update_output"
verbose_echo ""Azaz a hiba kimenetet is a standard outputra küldjük.
Nem script-ből, de teszteltem.
Eredeti módszer:root@OpenWrt:/usr/lib/ddns# update_output=$( curl "https://aaaa:a@members.dyndns.org/nic/update?hostname=szappantarto.dyndns.org&myip=94.248.229.181" )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:lib(20):func(144):reason(134)
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns# echo $update_output
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns#Error output átirányítással:
root@OpenWrt:/usr/lib/ddns# update_output=$( curl "https://aaaa:a@members.dyndns.org/nic/update?hostname=szappantarto.dyndns.org&myip=94.248.229.181" 2>&1)
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns#
root@OpenWrt:/usr/lib/ddns# echo $update_output
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:lib(20):func(144):reason(134) More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
root@OpenWrt:/usr/lib/ddns#
Új hozzászólás Aktív témák
- One otthoni szolgáltatások (TV, internet, telefon)
- Gigantikus fordulatot vett a GeForce RTX 50 Super sorozat törlése
- Gyúrósok ide!
- Bemutatkozott a Poco X7 és X7 Pro
- Arc Raiders
- Újra nekifeszül az asztali konzolok piacának a Valve
- Szívós, szép és kitartó az új OnePlus óra
- Intel Core Ultra 3, Core Ultra 5, Ultra 7, Ultra 9 "Arrow Lake" LGA 1851
- Battlefield 6
- Milyen TV-t vegyek?
- További aktív témák...
- Lenovo ThinkPad P1 Gen 4 i7 32GB RAM 512GB SSD NVIDIA T1200 16 2560 1600 Garancia
- Dell Precision 7550 i7 32GB RAM 512GB SSD NVIDIA Quadro T1000 FHD
- Dell Precision 5560 i7 32GB RAM 512GB SSD NVIDIA RTX A2000 FHD+
- BOMBA áron eladó új Microsoft Surface Laptop 4 garanciával! AMD Ryzen 5 /16GB /256 SSD/TOUCH/13.5"/
- Dell Latitude 7420 i7 / 32GB /1TB SSD / FHD IPS
- HIBÁTLAN iPhone 13 256GB Pink -1 ÉV GARANCIA - Kártyafüggetlen, MS3734
- 172 - Lenovo Legion Pro 7 (16IAX10H) - Intel Core U9 275HX, RTX 5080
- 8Gb DDR3L 1,35V 12800u 1600Mhz RAM-ok, több db
- HIBÁTLAN iPhone 13 256GB Pink -1 ÉV GARANCIA - Kártyafüggetlen, MS3733, 91% Akkumulátor
- Samsung Galaxy S23 / 8/128GB / Kártyafüggetlen / 12Hó Garancia
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: NetGo.hu Kft.
Város: Gödöllő

vargalex
