Exporting certificate using thumbprint option did not give any result for graphman export.
graphman export --gateway test1 --using trustedCertByThumbprint --variables.thumbprintSha1 C2TXXXXXXXXXXXXXXX1748
API Gateway
The graphman export using thumbprint option needs the thumbprint in base64 encoded format. The HEX format of SHA1 in the cert needs to be converted to base64 encoded format before using it in the export command.
Convert the HEX to base64 encoded format:
echo <thumbprint text in hex> | xxd -r -p | base64
Then use the output of the above command in graphman command:
graphman export --gateway test1 --using trustedCertByThumbprint --variables.thumbprintSha1 SrHy7954Jkund99dmlieynkR=