I'm working with a lot of MikroTik's routers which push some data about their state and environment to the our cloud application.
It's important that it's not polled from the cloud, but router pushing the data under some condition met.
Problem is that I have to implement and maintain a complex custom authentication for the routers, because /tool/fetch doesn't support a certificate-based authentication.
Is there any chance for support a curl options like listed below?
Code: Select all
curl --tlsv1.2 \
--cacert ca.crt \
--cert public.crt \
--key private.key \
--request POST \
--data "{ \"message\": \"test\" }" \
"https://example.com"
Thank you.