Fingerprint shown in Cert module #960

Open
opened 2026-10-05 04:55:37 +02:00 by adam · 1 comment
Owner

In module Cert would be nice that the fingerprint of certificate in use would be shown.
This would help in case of a fast check.

On webinterface for example is just reported:
You already have a certificate set, use the form below to overwrite the current certificate.

Something like:
You already have a certificate set with fingerprint XXXXXXXXXX; use the form below to overwrite the current certificate.

Same for IRC command /msg *cert Info:
You have a certificate in /home/<sysuser>/.znc/users/<zncuser>/networks/<mynetwork>/moddata/cert/user.pem

Somthing like:
You have a certificate in /home/<sysuser>/.znc/users/<zncuser>/networks/<mynetwork>/moddata/cert/user.pem with fingerprint XXXXXXXXXX

In module [Cert](https://wiki.znc.in/Cert) would be nice that the fingerprint of certificate in use would be shown. This would help in case of a fast check. On webinterface for example is just reported: `You already have a certificate set, use the form below to overwrite the current certificate.` Something like: `You already have a certificate set with fingerprint XXXXXXXXXX; use the form below to overwrite the current certificate.` Same for IRC command `/msg *cert Info`: `You have a certificate in /home/<sysuser>/.znc/users/<zncuser>/networks/<mynetwork>/moddata/cert/user.pem` Somthing like: `You have a certificate in /home/<sysuser>/.znc/users/<zncuser>/networks/<mynetwork>/moddata/cert/user.pem with fingerprint XXXXXXXXXX` <!-- github-sync-id:690372493 -->
Author
Owner

An issue I see with that approach is different IRCd's use different hashing algorithms to produce the hash. I.e. inspircd defaults to md5, unrealircd uses sha256, etc.

An issue I see with that approach is different IRCd's use different hashing algorithms to produce the hash. I.e. inspircd defaults to md5, unrealircd uses sha256, etc. <!-- github-comment-id:706568974 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#960