Cert: allow setting certificate for all networks [$5] #332

Closed
opened 2026-10-05 04:13:42 +02:00 by adam · 6 comments
Owner

I am using same certificate file on all networks and it would be nice if I could configure the certificate in one place instead of having to modify all networks manually.

WeeChat allows this with option irc.server_default.ssl_cert which applies to all servers unless that has been overridden for specific network with irc.server.<network>.ssl_cert.

There is also issue to Limnoria for similar behaviour https://github.com/ProgVal/Limnoria/issues/612 .

Did you help close this issue? Go claim the $5 bounty on Bountysource.

I am using same certificate file on all networks and it would be nice if I could configure the certificate in one place instead of having to modify all networks manually. WeeChat allows this with option `irc.server_default.ssl_cert` which applies to all servers unless that has been overridden for specific network with `irc.server.<network>.ssl_cert`. There is also issue to Limnoria for similar behaviour https://github.com/ProgVal/Limnoria/issues/612 . ## <bountysource-plugin> Did you help close this issue? Go claim the **[$5 bounty](https://www.bountysource.com/issues/2182113-cert-allow-setting-certificate-for-all-networks-5?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** on [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:33621922 -->
adam closed this issue 2026-10-05 04:13:42 +02:00
Author
Owner

This seems to be the default in git head. I personally have ZNC configured to use cert as a user module and that lets me have the same cert everywhere.

This seems to be the default in git head. I personally have ZNC configured to use `cert` as a user module and that lets me have the same cert everywhere. <!-- github-comment-id:44783666 -->
Author
Owner

How do I configure it as user module?

How do I configure it as user module? <!-- github-comment-id:44783721 -->
Author
Owner

Load it in your user modules page in the webadmin. That's how I did it.

Load it in your user modules page in the webadmin. That's how I did it. <!-- github-comment-id:44783889 -->
Author
Owner

Yes, I upgraded ZNC and now I can see Certificate under User modules, it wasn't there with the older version.

I wonder who can claim the bounty, so I am leaving this open for them.

Yes, I upgraded ZNC and now I can see `Certificate` under `User modules`, it wasn't there with the older version. I wonder who can claim the bounty, so I am leaving this open for them. <!-- github-comment-id:44788585 -->
Author
Owner

Hm. It could be loaded as user module since its addition to ZNC in 0.200, and got ability to be loaded as both in 1.0, when networks were introduced...

Hm. It could be loaded as user module since its addition to ZNC in 0.200, and got ability to be loaded as both in 1.0, when networks were introduced... <!-- github-comment-id:44788909 -->
Author
Owner

This was implemented with the introduction of the module in https://github.com/znc/znc/commit/8ad2d907b51207d5d199c1d063d056c518fea79d.

This was implemented with the introduction of the module in https://github.com/znc/znc/commit/8ad2d907b51207d5d199c1d063d056c518fea79d. <!-- github-comment-id:46962045 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#332