[Bug]: Thumbprint isn't match

Open
#2,452 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@hslatman is already working on this.

Since Oct 31, 2025.

Assessment

This issue has not been assessed yet.

Description

bug needs triage
Steps to Reproduce
  1. error is like as below
"error":{"type":"urn:ietf:params:acme:error:rejectedIdentifier","detail":"The server will not issue certificates for the identifier"}
  1. This is my jwk.json:
    {"e":"AQAB","kty":"RSA","n":"ALT9DCc9EB9Tx4luxvSl-IqhJUikd499BvXIZ8Cd3XNtr6oI2YxDHm6OZ2QoqDSvlygkOfmkJ2ke7C5BviJInQ9LDAJgr5r5isyiJzNG5Repbmh9xpNgxlkbxVT1gAhZ_cK9qNr4scVmjjUe7QhEQNjZb3XGAWJIMaX08nwyuLSSgxS7zkedC0R-ZSUUlkQvSLB7zXN6hQ4ZHgHnvGuZKchOtAMt4_E-UYustTfwxPUCMC-2Z7x-ukBlBa3q468UGx3GR0Ol6tmKkIFfks3CGqdAn3dHQFNMnpGbuWM-xjlQnuDOeJHcU9trPw-CpqboitShoVfpL_vG1RmhZ7ek1GU"}

  2. I use shell command to generate Thumbprint(base64url)

Command:manual_accountKeyThumbprint_base64url=$(cat jwk.json | tr -d '\n' | openssl dgst -sha256 -binary | openssl base64 -A | tr '+/' '-_' | tr -d '=' | tr -d '\n')

echo "manual  accountKeyThumbprint_base64url:" $manual_accountKeyThumbprint_base64url
result:manual  accountKeyThumbprint_base64url: Myv6DaixHv9RSLeaQ43NaUjzFC545UH89ztci9c4UMg

Command:stepca_accountKeyThumbprint_base64url=$(cat jwk.json | step crypto jwk thumbprint)

echo "step ca accountKeyThumbprint_base64url:" $stepca_accountKeyThumbprint_base64url
step ca accountKeyThumbprint_base64url: -8QnVY6fIIMy2yF6WDYN6IayPnAFbFavL3WoMvN51qQ
Your Environment
  • OS - ubuntu
  • step-ca Version - Smallstep CA/0.28.4 (linux/arm64) Release Date: 2025-07-14T14:06:51Z
Expected Behavior

It should be same

Actual Behavior

They’re not the same

Additional Context

Could you tell me why ?

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Dominant language
Go
Stars
8.9k
Forks
599
Avg merge
21h 20m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smallstep/certificates

All issues in smallstep/certificates

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.