View Issue Details

IDProjectCategoryView StatusLast Update
0004402unrealircdpublic2015-08-30 09:46
ReporterEman Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSScientific LinuxOS Version6.7
Product Version3.4-beta3 
Fixed in Version3.4-beta4 
Summary0004402: set::ssl::certificate using absolute path instead of relative path
Descriptionduring boot of ircd:

[warning] Failed to load SSL certificate rtype.crt
 error:02001002:system library:fopen:No such file or directory
 error:20074002:BIO routines:FILE_CTRL:system lib
 error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib
[warning] Failed to load SSL (see error above), proceeding without SSL support...


config contains:
        ssl {
                certificate "server.crt";
                key "server.key";
                server-cipher-list "TLSv1.2+AES256";
        };

strace shows:
(...)
open("/home/ircd/unrealircd/logs/ircd.log", O_WRONLY|O_CREAT, 0600) = 3
open("/home/ircd/unrealircd/logs/ircd.log", O_WRONLY|O_CREAT|O_APPEND, 0600) = 3
open("/home/ircd/unrealircd/data/ircd.tune", O_RDONLY) = 4
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 4
open("server.crt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
TagsNo tags attached.
3rd party modules

Activities

syzop

2015-08-30 09:46

administrator   ~0018659

It is supposed to accept relative paths indeed. Fixed now, thanks for the report.

https://github.com/unrealircd/unrealircd/commit/281ad036816e513e0f5adb1fc808437895085198

commit 281ad036816e513e0f5adb1fc808437895085198
Author: Bram Matthys <[email protected]>
Date: Sun Aug 30 09:40:51 2015 +0200

    Remote includes were broken. Also set::ssl::certificate only worked with absolute paths. Both issues were reported by Eman (0004401, 0004402).

Issue History

Date Modified Username Field Change
2015-08-30 04:14 Eman New Issue
2015-08-30 09:22 syzop Assigned To => syzop
2015-08-30 09:22 syzop Status new => acknowledged
2015-08-30 09:30 syzop Status acknowledged => assigned
2015-08-30 09:46 syzop Note Added: 0018659
2015-08-30 09:46 syzop Status assigned => resolved
2015-08-30 09:46 syzop Fixed in Version => 3.4-beta4
2015-08-30 09:46 syzop Resolution open => fixed