Again, this is another place where you could check the exception type or contents. This spec passes with Riak security OFF because the error is not related to the cert.