Skip to content

Server doesn't fail if I specify the -L parameter and don't provide a certificate and key. #40

@bogdanr

Description

@bogdanr

If I start the server like this:

nimblex:~# ./nettest-linux-x86_64/nettest -s -L 10.50.2.3:334
Reading config from: "/etc/nettest.conf"
TCP Server will listen on 0.0.0.0:5105

Instead of failing because a certificate or key was not specified either in the CLI or config file, it just ignores the -L parameter. Common behavior among Linux software is to fail, but at the very least, it should provide a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions