Fix acceptanycertificate