Create a secure connection between the web presentation engine client and the server
Creating a secure HTTPS connection between the web presentation engine client and the
server requires certificates. You can create and use your own certificates.
FactoryTalk Optix
generates certificate files when the
Certificate file
and Private key files
are
blank. You can generate and locate the certificate files and then upload them to
WebPresentationEngine
object and the browser that you are going to
use to create the secure connection.
IMPORTANT:
High Availability: If a certificate is not provided, each pod generates its own self-signed HTTPS
certificate. On failover, the certificate identity changes, and the browser blocks the
connection. For HTTPS in High Availability, provide your own certificate and private key in
the project archive so every pod deploys with the same certificate identity.
See Configure a web presentation engine to configure
the
WebPresetationEngine
object.- Configure the host name for the web presentation engine, which is the name of the host computer, to match the host name in the certificate:
- InProject view, selectWebPresentationEngine.
- InProperties, inHost Name, enter the name of the host computer.TIP: The name in the browser certificate must match the host name in the web presentation engine.
- Enter the IP address unless you are emulating from your local computer. If you are emulating from your local computer, inIP Addressenter0.0.0.0.
- InProtocol, selecthttps.
- InPort, enter the port number.
- Selectto run the project on Emulator and establish the web connection that creates the certificate files.Run
- Copy and save the certificate files to a known location:
- Open File Explorer.
- To go to the App Data Area, type%appdata%and pressEnter.
- To navigate the folder structure for certificate files created by the Emulator, select .
- Select your project.
- SelectApplicationFiles.
- Copy and paste the .der and .pem files to a known location.
- WithWebPresentationEnginestill selected, upload the certificate files inProperties:
- InCertificate file, selectBROWSE, and navigate to select the .der certificate file from location where you stored the file, select, and choose
Import file(s)Select. - InPrivate key file, selectBROWSE, and navigate to select the .pem certificate file from the location where you stored the file, select, and choose
Import file(s)Select.
- Selectto restart Emulator and ensure you are connecting to the correct instance of the web server.Run
- Export and install the browser certificate:
- In the address bar of the established browser connection, select
Not Secure. - InAboutafterYour connection to the site isn't secure,select>and then select
Show certificate. - InCertificate Viewer (your computer name), selectDetailsand selectExport.
- Select the .der file that has your computer name before the .der extension.
- Navigate to a location that you will remember and selectSave.
- Go to the saved location and double-click the .der file.
- InCertificate, selectInstall Certificateto install the certificate for the browser.
- LeaveCurrent Userselected and selectNext.
- SelectPlace all certificates in the following storeand selectBrowse.
- InSelect Certificates Store, selectTrusted Root Certificate Authorities, and then selectOK.
- InCompleting the Certificate Import Wizard, selectNext, and then selectFinish.
- When the import is successful selectOKtwice.
- To establish your connection from the web to the server, in the browser, enterhttps:\\hostname:port. For example, enterhttps:\\(computername):8080for the Emulator.
connection
polygon
Provide Feedback