@danielsdeleo Ideally I wouldn't want to use the error message to check here in case it is different on any other platform or other languages. 

Is there an API that we can call in to check if store contains the certificate and don't try to add it? I think that would be more robust. 

Also please make sure that this is merged to 11-stable as well :)