Corrected 'cms' exit status when key or certificate cannot be opened