Community discussions

MikroTik App
 
imort
just joined
Topic Author
Posts: 7
Joined: Sat May 26, 2018 9:34 am

/tool/fetch with certificates

Sat Sep 05, 2020 12:02 pm

It's more like a feature request, sorry if it's an inappropriate forum for that.

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?
curl --tlsv1.2 \
    --cacert ca.crt \
    --cert public.crt \
    --key private.key \
    --request POST \ 
    --data "{ \"message\": \"test\" }" \
    "https://example.com"
Ideally I should be able to import certificates to the /certificate storage so they could be stored safely, and not in the files.

Thank you.
 
palii
just joined
Posts: 23
Joined: Sun Nov 19, 2017 6:57 pm

Re: /tool/fetch with certificates

Wed Jan 06, 2021 12:43 am

This feature would be awesome. I'm looking to implement this as well.

Who is online

Users browsing this forum: No registered users and 26 guests