Hi All,
I'm trying connect to FortiAnalyzer to get some info. I saw that FortiAnalyzer is providing WSDL and I wrote a simple C# console app in .Net Core. I've added as "Connected Service" with url like this: "https://<fortianalyzer-ip>:8080/" (not ending with /FortiAnalyzerWSxml or /FortiAnalyzerWS)
When I run the app I got this error: https://pasteboard.co/Iy9fsDf.png
Sample code:
var ws = new FortiAnalyzerApi.FortiAnalyzerWSPortTypeClient();
ws.ClientCredentials.UserName.UserName = "user";
ws.ClientCredentials.UserName.Password = "pass";
ws.ClientCredentials.ServiceCertificate.SslCertificateAuthentication = new System.ServiceModel.Security.X509ServiceCertificateAuthentication()
{
CertificateValidationMode = System.ServiceModel.Security.X509CertificateValidationMode.None,
RevocationMode = System.Security.Cryptography.X509Certificates.X509RevocationMode.NoCheck
};
var result = ws.getSystemStatus(new FortiAnalyzerApi.getSystemStatus());
User | Count |
---|---|
1922 | |
1144 | |
769 | |
447 | |
277 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.