How To Generate a Certificate ?
How to create a certificate using https://mkjwk.org/
To generate a certificate, follow these steps:
Go to https://mkjwk.org/
Select the required fields:
Key Use (use): Choose sig (for signature).
Algorithm (alg): Select RS256 (RSA Signature with SHA-256).
Key ID (kid): This is a unique identifier for the key. You can enter any random string or a specific identifier that you would like to use.
Key Type (kty): RSA is recommended, so ensure RSA is selected.
Modulus (n): This will be automatically generated when you create the key.
Exponent (e): This will also be generated automatically.
Generate the Key Pair:
Click the “Generate” button to create your public and private key pair. Make sure to save both the public and private keys securely as the private key will be required later for signing requests.
Validate the certificate: Ensure the generated certificate contains the following properties:
kty: Key Type (e.g., RSA)
e: Exponent (e.g., AQAB)
use: Key Use (e.g., sig)
kid: Key ID (your unique key identifier)
alg: Algorithm (e.g., RS256)
n: Modulus (the base64 encoded string representing the modulus of the RSA key)
Example json output:
Screenshot for your reference
Last updated