You need to setup a trusted certificate to work properly. You can do this by following the instructions here: https://pve.proxmox.com/wiki/Certificate_Management
You can also add the self-signed certificate to trusted certificates in your OS Keychain. Then select "Keychain" in "Raycast Settings > Advanced > Certificate", and restart Raycast.