Unable to build CA Chain

I am following vault documentation at Build Your Own Certificate Authority (CA) | Vault - HashiCorp Learn
Started a vault server locally on windows with dev mode.
Followed steps by copying each command from tutorial
however I am not able to complete the tutorial, getting error

Error writing data to pki_int/intermediate/set-signed: Error making API request.

URL: PUT http://127.0.0.1:8200/v1/pki_int/intermediate/set-signed
Code: 500. Errors:

  • 1 error occurred:
    * verification of parsed bundle failed: public key of certificate does not match private key

Checked blogs, googled it but no answer. As per github code public/private keys do not match, now, not sure which keys. As per tutorial, I did not create any key.

And vault version is Vault v1.5.4 (1a730771ec70149293efe91e1d283b10d255c6d1)