Skip to content

Can`t generate a Cloudflare SSH CA #20396

@daap213

Description

@daap213

Existing documentation URL(s)

https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/#6-configure-ssh-server

What changes are you suggesting?

I followed the steps in the document, creating the respective token, with the necessary permissions, I tested it and the response is that it is active:
{"result":{"id":"qqqqqqqqqqqq","status":"active"},"success":true,"errors":[],"messages":[{"code":10000,"message":"This API Token is valid and active","type":null}]}
But when I want to run:
curl --request POST
"https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/gateway_ca"
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"

it returns:
{"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions