Web communication requires certificates to ensure safe data transfer. Even though Parametric Robot Control runs primarily in a local context, gRPC requires encryption to function.
In order to trust the certificate embedded in the server (
PRCServerCertificate.pfx
for Windows with a validity of 30 years, PRCServerCertificate_macOS.pfx
for macOS with a maximum of 2 years validity) a root certificate needs to be present on every client.Note that the most recent version of Parametric Robot Control provides a certificate that not only works on
127.0.0.1
and localhost
, but also on the following IP addresses:192.168.0.110
192.168.0.110
192.168.8.110
10.0.0.110
10.0.1.110
10.0.8.110
172.31.0.110
172.31.1.110
172.31.8.110
There should be ways to integrate your own certificates as well, contact us if you need support.
Automated Installation: Windows
The
PRCRootCertificate.crt
certificate is by default installed by the installation software on Windows. You can also find it in the server directory, in Windows by default %LOCALAPPDATA%\Parametric Robot Control\PRC.Server\Certificates
. To install it automatically, you can run the PRC.CertificateInstaller.exe
file (the same file is also run after setup).Semi-Automated Installation: macOS
In the
PRC.GH
folder, open the Certificates
subfolder in a Terminal in that folder and enter the following command to install the certificate.bashsudo security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain-db ./PRCRootCertificate_macOS.crt
The same command is also available by double-clicking the
PRC.CertificateInstaller-macOS.command
file in the Certificates
directory in the PRC.Server directory. However, your mac may prevent you from executing that command.Manual Installation: Windows
Go into the
%LOCALAPPDATA%\Parametric Robot Control\PRC.Server\Certificates
folder. Double-click the PRCRootCertificate.crt
file, select "Install Certificate" for "Current User". Then select "Place all certificates in the following store" and choose "Trusted Root Certification Authorities".Manual Installation: macOS
Navigate into the
Certificates
folder within the PRC.Server directory. In order to access your keychain, you will need to enter your password.This opens the Keychain, on macOS 15 in the background. Click the icon in the bar to open it.
Drag and drop the
PRCRootCertifcate_macOS.crt
into the Certificate
section of the login
Keychain.The certificate will show up with a red warning.
Double-click it and open the Trust option. Select βAlways Trustβ.
When you exit the window, you will need to enter your password again. If succesful, the certificate will have a blue mark. As macOS requires us to update certificates frequently, you may have to repeat the process every few updates.