Merge pull request #1456 from robertovargas-arm/make_cert

make_cert: return error when invalid options are used