Fixing get method certificate flags

Signed-off-by: Tolik Litovsky <tlitovsk@redhat.com>