-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect-FGT #294
Comments
Don't fortget to set -SkipCertificateCheck ? (if you are using the IP Address of Fortigate) What powershelle version ? and FortiGate release ? What the API configuration ? With credential it is working ? |
Hello @alagoutte I did use the -SkipCertificateCheck as well yes. PowerShell Version: 5.1.22621.4391 Access Permissions: I tried with credentials: It does not work either. I will try to open this up to read for all things in the access permissions, and turn on the permit usage of CLI commands. One at a time and report back what i find out. |
Hi, the module don't use CLI/SSH but API (HTTPS) Do you are using standard port for Admin ? (you need to use -port) |
I don't 100% know if this is an issue with the latest version. But when i
tried the api key in double quotes as well.
I get a message saying im entering either incorrect credentials or am not connecting from a trusted host.
The API Key I copied directly from the FortiGate im connecting to, so i know it is correct.
The Trusted hosts i've left blank and tested i still am unable to connect.
The Trusted hosts have also been filled out with /24 networks from which i connect from. This is the error i get.
`
I am wondering if I am just doing something wrong while connecting.
The text was updated successfully, but these errors were encountered: