Api issue on module ipsec

Started by mehdi_fa, March 03, 2020, 05:41:11 PM

Previous topic - Next topic
Hi there,

I'm trying to use the ipsec module API as described by documentation but I'm facing issue when calling the endpoint.

OPNsense version: 19.1.10

What've tried: curl -XGET -v -k -u "$key":"$secret" "https://myOPNsense/api/ipsec/key_pairs/searchItem"

What is returned: {"message":"controller OPNsense\\Core\\Api\\IndexController not found","status":400}

Is the API fully implemented ? or is it a bug already fixed in earlier version ?

thanks !

IPsec is not API enabled yet ... the guys are currently working on API-enabling Firewall rules.