Removed unused using
Fixed error in Cert operation where exception was thrown if not permissions was set