Skip to content

Creating a full RSA chain for a legacy application #576

Answered by maraino
tobi-coder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tobi-coder, can you check that your intermediate is actually an RSA key, I think it's using a ECDSA P-256 key.

You can check the algorithm inspecting the intermediate one, the issuer, for example:

$ step certificate inspect --short $(step path)/certs/intermediate_ca.crt
X.509v3 Intermediate CA Certificate (RSA 4096) [Serial: 2415...1643]
  Subject:     My Intermediate CA
  Issuer:      My Root CA
  Valid from:  2021-05-18T00:57:48Z
          to:  2031-05-16T00:57:48Z```

As you know, step ca init does not supports the --kty parameters, so the full process to initialize the PKI is a little bit more complex, here it is for your reference:

$ step ca init
...
$ step certificate create --pr…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@tobi-coder
Comment options

@maraino
Comment options

@tobi-coder
Comment options

@greg-mcnamara
Comment options

@tashian
Comment options

tashian May 23, 2022
Collaborator

Answer selected by tobi-coder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants