While signing up for the IRS E-services they are requesting a JSON Web Key (JWK). they want the following fields in the JWK kid, kty, use, n, e, x5t, x5c. The "kty" field should be equal to "RSA".
In this answer it is shown how to generate the keys but I cannot find out how to generate an x5c key.
x5c is fairly simple. you need to remove
-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----from theSelf-Signed Certificategenerated from mkjwk.orgOR
you can use the PHP script: https://control7.net/JWK/generate.php
paste your
Public and Private KeypairandSelf-Signed Certificateinto the textbox and clickGo