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.

<aside> 🔑

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.

</aside>

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.

image.png

security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain-db ./PRCRootCertificate.crt

The same command is also available by double-clicking the CertificateInstaller_macOS.command file in the Certificates directory in the PRC.Server directory. However, your mac may prevent you from executing that command. You can simply open a Terminal window and enter bash CertificateInstaller_macOS.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".

image.png

Untitled

Manual Installation: macOS