How to install pWidgets Self-Signed Certificate
Overview
This article will show you how to set up your pWidgets to use https vs http. It will guide you thought the steps to create the self-signed certificate. It will also go over how to have the clients see the certificate.
Requirements
Access to PC/Server where pWidgets is installed
Local Administrator Rights
pWidgets Admin account
By default, pWidgets Home View automatically creates a self-signed certificate using the server/host computer's DNS name and IP address.
Please ensure that HTTPS is selected as the web protocol under Service Settings.
While holding Shift, right click pWidgets Home View shortcut and click Run as administrator
Enter username and password
Default credential is "Admin" for both username and password
Click Login
Click Global Settings
Click Datebase Connection
Click the dropdown for http and change to https
Click the icon next to the blank box certificate name
In the new popup
Click in the blank text box next to Certificate Name
Type Name you would like
Click ReGenerate Certificate
Wait for a few moments
Click Ok
Click Open Folder
Confirm new certificate is in there
Click Ok
Type certificate name in blank box next to Certificate Name
Click Save Settings
Upon creation, the certificate will be installed in the Trusted Root Certification Authorities and automatically exported ( .cer) to the default Nexas resource folder located at:
C:\Nexas America\Self Signed Cert.
The exported certificate is required on client computers to recognize the site as secure and avoid HTTPS security warnings. This certificate should be installed on each client machine.
There are two ways to install Self-Signed Certificates. Please look at both steps below to figure out what is best for your company
- Local per computer
- Group Policy (GPO)
To install the Self-Signed certificate
Double-click the .cer file.
Click Install Certificate.
Choose Local Machine (admin required)
Select Place all certificates in the following store → Trusted Root Certification Authorities
To install a self-signed certificate via Group Policy (GPO) so that it's automatically trusted on all domain-joined client PCs
Prerequisites
A .CER file (not .PFX) exported from your self-signed certificate.
Domain admin rights.
Access to Group Policy Management Console (GPMC) on a Domain Controller
Make sure both server and clients are joined to the same Active Directory domain
Steps to Install the Certificate via GPO
Open Group Policy Management
Run gpmc.msc on your Domain Controller
Create or Edit a Group Policy Object (GPO)
Navigate to your domain or target Organizational Unit (OU)
Right-click it and choose Create a GPO in this domain
Name it (e.g., Install Self-Signed Cert) and click OK
Edit the GPO
Right-click the GPO and choose Edit.
Go to Certificate Store Policy
Inside the Group Policy Editor, navigate to:
Computer Configuration
Policies
Windows Settings
Security Settings
Public Key Policies
Trusted Root Certification Authorities
Import the Certificate
Right-click Trusted Root Certification Authorities and select Import
Browse for your .CER file and complete the wizard
Link the GPO to the Target OU
In Group Policy Management, right-click the desired OU (containing the computers), select Link an Existing GPO, and choose the GPO you just created
Force Group Policy Update (optional). Simply reboot the machine to apply the policy
Verify on a Client PC
Open certmgr.msc (or mmc.exe with Certificates snap-in)
Go to:
Trusted Root Certification Authorities → Certificates
Confirm the self-signed certificate is listed and trusted
Related Articles
How to Obtain pWidgets License Base Code
Overview This article will show you how to obtain the License Base Code, or simply Base Code, to generate a license key. Requirements Access to PC/Server where pWidgets is installed Local Administrator Rights pWidgets Admin account Obtain License ...
Why are directories in pWidgets HMI not loading?
Problem When attempting to send or receive using pWidgets HMI, the directory shows up empty or displays an error message. Reason The service account used with pWidgets does not have sufficient permissions to the directories Solutions Check if the ...
How to License pWidgets
Overview This article will show you how to enter a license key into pWidgets. This applies to both temporary and permanent licenses as well as DNC, HMI, and MDC versions. Requirements Access to PC/Server where pWidgets is installed Local ...
Why is pWidgets HMI not loading in the browser?
Problem pWidgets HMI is not loading in the browser Reason pWidgets service is likely not running Firewall is blocking access to TCP port 8081 Solutions Start the pWidgets Service on the server Allow TCP port 8081 on the server
How to create a Tile in pWidgets HMI
Overview This article will demonstrate how to create a tile in pWidgets HMI. Requirements Access to pWidgets HMI pWidgets Admin account Changing Default Directories and Extensions Open up your internet browser, e.g. Edge or Chrome Go to the URL, e.g. ...