Okay I fixed the issue by replacing the C:\Program Files (x86)\Epicor\CRE\Payment App\Certificate\root-cert.pem file with the latest one according to this KB article:
https://epicorcs.service-now.com/epiccare?id=kb_article&sys_id=6e54998fdb019c906a0493b7f49619e8