Hello, I am trying to create an API endpoint using the web dev module in Ignition Designer, and i would like to use https instead of the non-encrypted http, some more information about this would be appreciated.
I have looked through this documentation, I found the section on self signing but I was wondering what I do if I don't have a domain name that I can use?
You don't need a domain name to self-sign a certificate. All [1] public certificate authorities (CA)s require a domain name to generate a valid certificate, but all validity means is that your OS/browser will by default trust your certificates. On pretty much all platforms, and certainly on everywhere you can run Ignition, you can create your own "certificate authority", trust that authority from your HTTP client(s), and then tell Ignition to use that CA for its own web communication.
You will need to enable SSL for the gateway as a whole and for specific Webdev endpoints:
Yesterday I had this working with the self signed certificate on my local network at the office between machines in order to do https and now that I am at the site on a different network and gateway, I have regenerated the self-signed certificate and enabled TLS and https on the endpoints in the new project on the gateway at site, but for some reason now when I try to send a request to the endpoint with https on port 8043 it simply times out.
The endpoint still works on http if I disable https: in the designer. Any thoughts on this? Are there more steps that I should take to allow for https on the network on site?