View Issue Details

IDProjectCategoryView StatusLast Update
0005851unrealircdpublic2021-04-15 06:55
Reporterlord Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinux 
Product Version5.0.9 
Summary0005851: Check the expiration date of default cert instead of configured tls cert.
DescriptionWhen you install from source unreal 5.x it comes with default TLS certs in unrealircd/conf/tls/server.cert.pem and unrealircd/conf/tls/server.key.pem .
If you keep these files but configure unreal to use other files somewhere else, it keeps checking the expiration dates of those defaults certs.

Removing these files and creating symlinks to the "real" cert in this default directory solve the issue.
TagsSSL
3rd party modules

Activities

syzop

2021-04-15 06:55

administrator   ~0021939

14:57 < lord> we use a LE cert in a /etc/somewhere/file.pem. but unreal keeps complaining about expiration of the default cert provided which isn't used anywhere in the configuration.
14:58 < lord> in a listen { ssl-option { certificate }; };

EVENT(tls_check_expiry)
{
[..]
        for (listen = conf_listen; listen; listen = listen->next)
                if (listen->tls_options)
                        check_certificate_expiry_tlsoptions_and_warn(listen->tls_options);

So code-wise not sure what could be wrong here... but I will try to reproduce, then we will know for sure.

Issue History

Date Modified Username Field Change
2021-04-14 16:19 lord New Issue
2021-04-14 16:19 lord Tag Attached: SSL
2021-04-15 06:55 syzop Note Added: 0021939