[XS] Change in pysim[master]: x509 cert: fix weird cert check