Well, if the certificate indicates that it is expired, you can adjust the time of the mobile phone to achieve the purpose of installation. If the certificate indicates that it is restricted, then someone has signed the software, but the certificate does not match your mobile phone, so you can't install it.
I suggest you go to the next version, then sign it, and make sure that your mobile phone certificate is correct.