Message 1 of 2
Communication over SSL with webserver having self-signed certificate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi !
I am trying to setup a communication between a FlexSim model and a local webserver that enforce HTTPS.
I can make https request with flexsim to some public websites, but I cannot do it to the local webserver.
I added the certificate to the root of windows so I can make request from my browser for instance.
But FlexSim receives nothing from the request I made. Here is the samll code I used for my test.
Http.Request request = Http.Request("https://192.168.1.1:2387/test/test2");
request.method = Http.Method.Get;
Http.Response response = request.sendAndWait();
print(response.value);
I also tried with
request.useSSL = 1;
I just receive 0 as response.value. I can't understand why.
Does FlexSim support the use of certificates that do not come from certificate authorities ?