return nil if ios pem file is not found