mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Make error message more useful
This commit is contained in:
@@ -4519,7 +4519,7 @@ if (!Net::SSLeay::CTX_use_PrivateKey_file($ssl_ctx, $keyfile,
|
||||
}
|
||||
if (!Net::SSLeay::CTX_use_certificate_file($ssl_ctx, $certfile || $keyfile,
|
||||
&Net::SSLeay::FILETYPE_PEM)) {
|
||||
print STDERR "Failed to open SSL cert $certfile\n";
|
||||
print STDERR "Failed to open SSL cert ".($certfile || $keyfile)."\n";
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user