Are you using hostnames or IP addresses for this application?
Either way, if you’re using any kind of certificate authority you’ll likely need to set the Subject Alternate Name (SAN) and make sure those match up with the hostnames / IPs you’re using.
It’s a small part of a much more involved process and guide, but we have some info about it on the developer site here: Creating a Server Certificate for your groov EPIC(s) | Opto 22 Developer