Fix error caused by loading duplicate trusted certs