Skip to content

X.509

Juptune provides a native X.509 certificate parser. It’s not fully complete, and the validation isn’t full there yet, but the growing pains will hopefully subside.

There’s a separate tool built on Juptune called dx509, which provides some utilities for interacting with X.509 certs.

TODO: Most people won’t be touching this code, so not a priority to document it immediately.

Juptune will attempt to load the default CA bundle from one of these file paths, using the first file that exists:

  • /etc/ssl/ca-bundle.pem
  • /etc/ssl/certs/ca-certificates.crt

First part is the algorithm for the trust anchor’s key.

Second part is the algorithm for the subject’s signature.

  • RSA-SHA1
  • RSA-SHA224
  • RSA-SHA256
  • RSA-SHA384
  • RSA-SHA512
  • ECDSA-SHA1
  • ECDSA-SHA224
  • ECDSA-SHA256
  • ECDSA-SHA384
  • ECDSA-SHA512

Support for more is possible (as long as OpenSSL supports it), these are just the ones I’ve put time into so far.