Fix error caused by loading duplicate trusted certs
Merge branch 'duplicate-cert-fix'