New AS Plugin: Certificate Viewer

Support for developers of new plugins, third-party plugin announcements and discussions.
manison
Plugin Developer
Plugin Developer
Posts: 216
Joined: 09 Dec 2005, 23:23
Location: Ceske Budejovice, Czech Republic
Contact:

Re: New AS Plugin: Certificate Viewer

Post by manison »

Good work, Vilo. Seems this plugin will save me a lot of typing of OpenSSL command lines :) Thanks.
soerentsch
Posts: 12
Joined: 29 Mar 2012, 13:41
Location: Hamburg, Germany

Re: New AS Plugin: Certificate Viewer

Post by soerentsch »

Thanks you Vilo :)
Mike12345
Plugin Developer
Plugin Developer
Posts: 43
Joined: 03 May 2006, 00:11
Location: Germany

Re: New AS Plugin: Certificate Viewer

Post by Mike12345 »

Thanks Vilo, works great!
User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 455
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Re: New AS Plugin: Certificate Viewer

Post by stepand76 »

Good work!
User avatar
tukanos
Posts: 410
Joined: 21 Dec 2005, 19:14

Re: New AS Plugin: Certificate Viewer

Post by tukanos »

What happened to the plugin link? Was it deleted?
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: New AS Plugin: Certificate Viewer

Post by therube »

More then just the link, his posts too are gone.
His website (& download links) are still up.
WinXP Pro SP3 or Win7 x86 | SS 2.54
vilo
Posts: 15
Joined: 05 Feb 2019, 07:30
Location: Slovakia

Re: New AS Plugin: Certificate Viewer

Post by vilo »

Hi all, don't know what happened, but my account was deleted. Not by me! Sorry.

The plugin you can find here: https://github.com/lejcik/certviewer

And releases here: https://github.com/lejcik/certviewer/releases

BR,
Vilo
User avatar
tukanos
Posts: 410
Joined: 21 Dec 2005, 19:14

Re: New AS Plugin: Certificate Viewer

Post by tukanos »

therube wrote: 01 Feb 2019, 13:35 More then just the link, his posts too are gone.
His website (& download links) are still up.
Yes, makes me wonder what had happened. It would be nice if someone would tell us what is going on. I created a fork on a github so it is not lost if it gets deleted too.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: New AS Plugin: Certificate Viewer

Post by Jan Rysavy »

Vilo, I'm very sorry, it was my fault. I have mistakenly deleted your account (including all posts) during spam cleanup on Mon Jan 14, 2019 12:46 pm.
vilo
Posts: 15
Joined: 05 Feb 2019, 07:30
Location: Slovakia

Re: New AS Plugin: Certificate Viewer

Post by vilo »

no worries, I'm back :)
vilo
Posts: 15
Joined: 05 Feb 2019, 07:30
Location: Slovakia

Re: New AS Plugin: Certificate Viewer

Post by vilo »

Hi all, I have an update of this plugin. It didn't work as I wanted (tested with certificates that I got from my company), so that I improved it to ease my job :)

I improved certificate formats auto-detection, added support for a few more certificate formats, and updated the sources for openssl version 3.0 (there are quite significant API changes). Latest plugin version is 1.2, you can find it here: https://github.com/lejcik/certviewer/releases

Feel free to use it, and if you find any problem, let me know. Enjoy.

BR,
Vilo
User avatar
SelfMan
Posts: 1142
Joined: 05 Apr 2006, 20:51
Contact:

Re: New AS Plugin: Certificate Viewer

Post by SelfMan »

Nice job mate!
User avatar
AD7
Posts: 566
Joined: 28 Jan 2006, 16:21

Re: New AS Plugin: Certificate Viewer

Post by AD7 »

Is is posible SK language?

Screenshots:

--
I can help to translate it.
Attachments
2023-01-26 plugin - installed.png
2023-01-26 plugin - installed.png (43.24 KiB) Viewed 25449 times
2023-01-26 default.png
2023-01-26 default.png (72.69 KiB) Viewed 25449 times
vilo
Posts: 15
Joined: 05 Feb 2019, 07:30
Location: Slovakia

Re: New AS Plugin: Certificate Viewer

Post by vilo »

Hi AD7,

This is not that easy task. In fact, I have only a few strings in the certdump.cpp file: (see the BIO_printf() calls)
https://github.com/lejcik/certviewer/bl ... rtdump.cpp

In your example, the header (object type and format strings) can be translated easily, but the rest of the certificate dump content comes from OpenSSL library. If you want to localize such content, you have to reimplement the certificate printers (X509_print(), EVP_PKEY_print_public(), EVP_PKEY_print_private() and others from the library) similarly as I did it in openssl-helpers.cpp, where I have a small part of the library sources that I wanted to customize. The helpers I have to sync regularly with original sources when openssl is upgraded. So, maintaining the certificate printer functions may bring a lot of work to the maintainer. And I'm not sure if this is worth such effort.

Moreover, people who work with certificates should know the english terms, their localizations are sometimes confusing (even on Windows or web browsers). So, personally I'd stay with english only version of this plugin...

Vilo
vilo
Posts: 15
Joined: 05 Feb 2019, 07:30
Location: Slovakia

Re: New AS Plugin: Certificate Viewer

Post by vilo »

And regarding the second example, it seems that the certificate file was not parsed. I think it's because of the uncommented lines just above the --BEGIN CERTIFICATE-- line, try out to comment them out to view the content, or try to run:

Code: Select all

openssl x509 -in e:\cacert.pem -text
Then it should work with your file. If not, it will not work also with this plugin, as both use the same parsing engine.
Post Reply