I installed optware and I have curl available. I'm trying to get it to notify me (through pushover) when the router is rebooted.
curl \ -F "token=<token goes here>" \ -F "user=<user key goes here>" \ -F "message=ASUS Router WAN Up" \ https://api.pushover.net/1/messages
This is an Asus RT-N16 router using Tomato Firmware 1.28.0000 MIPSR2-097 K26 USB Mega-VPN
The error message indicates that it is an issue with the CA installed:
url: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed 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.
So what is the recommended way to install a CA bundle? Or should I just go insecure (-k works)?