Disabling the SSL verification may work, but it's not a good practice for production environments because it's insecure so it should be used only as a temporary solution. (c) May by they use self-signed cert in local network. In this case there is not big risk.
2018-04-18 19:01 GMT+05:00 Federico Capoano <[email protected]>: > From https://curl.haxx.se/libcurl/c/libcurl-errors.html > > CURLE_SSL_CACERT_BADFILE (77) > > Problem with reading the SSL CA cert (path? access rights?) > > Disabling the SSL verification may work, but it's not a good practice for > production environments because it's insecure so it should be used only as > a temporary solution. > > What SSL library are you using? openssl, mbedtls or cyassl? > > Federico > > On Wed, Apr 18, 2018 at 7:53 AM Артур Скок <[email protected]> wrote: > >> Hi. >> Try to use "option verify_ssl '0'" >> >> 2018-04-18 15:41 GMT+05:00 Nam Lê <[email protected]>: >> >>> Hi all, >>> >>> I can't connect between openwisp agent and controller. >>> >>> Log agent show code 77 . >>> Wed Apr 18 10:35:49 2018 daemon.err openwisp: Failed to connect to >>> controller while getting checksum: curl exit code 77 >>> >>> I installed openwisp-config-no-sll on agent and this is >>> /etc/config/openwisp >>> >>> config controller 'http' >>> option url 'https://10.0.1.253' >>> #option interval '120' >>> #option verify_ssl '1' >>> #option shared_secret '' >>> #option consistent_key '1' >>> #option mac_interface 'eth0' >>> #option merge_config '1' >>> #option test_config '1' >>> #option test_script '/usr/sbin/mytest' >>> option uuid '01619bd52e3e4f468ab7xxxxxxxxxx' >>> option key 'SU0kQIV1Jkaa70UK9AYbxxxxxxxxx' >>> list unmanaged 'system.@led' >>> list unmanaged 'network.loopback' >>> list unmanaged 'network.@switch' >>> list unmanaged 'network.@switch_vlan' >>> # curl options >>> #option connect_timeout '15' >>> #option max_time '30' >>> #option capath '/etc/ssl/certs' >>> >>> And how I do? Please help me! Thanks everyone. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "OpenWISP" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "OpenWISP" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
