it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

Add the possibility to convert a certificate to its contents

Open 0xygen8 opened this issue 6 months ago • 4 comments

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

i work with a tools where i need to process the contents of a certificate -- i would love a tool where i can post the contents of a certificate (preferably without --BEGIN CERTIFICATE-- and --END CERTIFICATE--) where the tool converts te contents (with openssl x509 -in [cert text] -text -noout to the contents of the certificate

Is their example of this tool in the wild?

No response

Additional context

No response

Validations

  • [x] Check the feature is not already implemented in the project.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [x] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).

0xygen8 avatar May 19 '26 12:05 0xygen8

My bad, pulled the wrong continer you have the option: Certificate/Key parser that works! thanks!

I would only request an addition: when working with parsed content: the --BEGIN CERTIFICATE-- and --END CERTIFICATE-- are mandatory please add the option that when they are missing from the content add them before trying to decode. My application uses the certificate without the headers so when i copy the content ther do not have the required headers you need to decode the content.

0xygen8 avatar May 20 '26 09:05 0xygen8

https://github.com/CorentinTh/it-tools/pull/1812

XiaoMing0000 avatar Jun 09 '26 09:06 XiaoMing0000

1812 does not fix my issue (1812 is for generating certs) what i would like is when i use the Certificate/Key parser in content mode I can paste a cert wirhout the BEGIN CERTIFICATE and END CERTIFICATE line (eg detect if it is there and do nothing and if there is no BEGIN and END add them before trying to decode the cert data

0xygen8 avatar Jun 09 '26 15:06 0xygen8

Hi @0xygen8 implemented a PEM Header Type to parse without BEGIN/END, here: https://sharevb-it-tools.vercel.app/certificate-key-parser

if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Jun 23 '26 21:06 sharevb