This chapter describes two ways to run server-side simulation with a self-signed certificate.
|
To run server-side simulation with SSL
Use the following request to connect to Web Application Platform and provide the path to the certificate file:
In the request, make sure to provide the IP or hostname for which the certificate was generated. |
client = SimulationWebClient('<WebApp_server_IP_or_hostname>', '<user_name>', '<password>', verifySSL='<path_to_certificate_file>') |
In Jupyter Notebook, execute the following commands to find the path, where the cacert.pem file of trusted certificates is located:
import certifi print(certifi.where()) |
Use the following request to connect to Web Application Platform:
In the request, make sure to provide the IP or hostname for which the certificate was generated. |
client = SimulationWebClient('WebApp_server_IP_or_hostname>', '<user_name>', '<password>', verifySSL=True) |