Skip to content

danielmaison/cert2jwk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cert2jwk

Small util to generate jwk from a x509 certificate.

Usage: cert2jwk [--hash-as-hex] [-f=CERT_FILE] [-k=keyId]
Converts X509 certificate to jwk from standard input or file
  -f, --file=CERT_FILE   Certificate file
      --hash-as-hex      Outputs the value of x5t#S256 as hex instead of Base64Url
  -k, --kid=keyId        JWK key id. Defaults to certificate serial number

Based on Quarkus, Picocli and nimbus-jose-jwt

TODO

  • Add support for EC based certificates

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages