Version: FortiGate-VM64-KVM v6.2.1,build0932,190716 (GA)
# show system api-user
config system api-user
set api-key ENC SH2PPzcc9QjwfKbZt65EU5ufPXSGvnazXmEJatKySDyFiAUjmbEk0ZEKRbXG2Q=
set accprofile "super_admin"
set vdom "root"
set ipv4-trusthost 10.0.1.70 255.255.255.255
# curl -k http://10.0.1.51/api/v2/c...x4gwhH53jb551QrbQwkG58
root@eve-ng:~# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<TITLE>401 Authorization Required</TITLE>
This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.<P>
<P>Additionally, a 401 Authorization Required
error was encountered while trying to use an ErrorDocument to handle the request.
1. I got above error with those config, although I am using super_admin profile
What's wrong with step?
In curl, I can only using http because I am using trial license