Problem installing on Pi4

I know just enough about Pi to be semi-dangerous.
Attempting to install yields:

pi@raspberrypi:/home $ curl https://raw.githubusercontent.com/virtualhere/script/main/install_server | sudo sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1112 100 1112 0 0 4180 0 --:--:-- --:--:-- --:--:-- 4180
--2022-02-06 18:21:32-- https://www.virtualhere.com/sites/default/files/usbserver/vhusbdarm
Resolving www.virtualhere.com (www.virtualhere.com)... 147.182.241.161
Connecting to www.virtualhere.com (www.virtualhere.com)|147.182.241.161|:443... connected.
ERROR: The certificate of ‘www.virtualhere.com’ is not trusted.
ERROR: The certificate of ‘www.virtualhere.com’ has expired.
chmod: cannot access 'vhusbdarm': No such file or directory
mv: cannot stat 'vhusbdarm': No such file or directory
Job for virtualhere.service failed because the control process exited with error code.
See "systemctl status virtualhere.service" and "journalctl -xe" for details.

Suggestions?

#2

The certificate of www.virtualhere.com is fine and is not expired.

I think you might be running a very old version of raspbian which doesnt have the letsencrypt CA.

Run uname -a from the terminal , what does that show?

#3

That could be, it's a special build that may have been around for a while.

Here's the output:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux

#4

Run this:

sudo apt update;sudo apt upgrade -y;sync;sudo reboot

then try running the virtualhere script again when the pi4 reboots