Skip to content

Options error: --verify-client-cert none|optional must be used with --management-client-auth, an --auth-user-pass-verify script, or plugin #706

@jkroepke

Description

@jkroepke

IMPORTANT NOTE
Bugs about OpenVPN Access Server, OpenVPN Connect or any other product by OpenVPN Inc. should be directly reported to OpenVPN Inc. at https://support.openvpn.net

Describe the bug

While testing #299 I got the note that the server can't start because of an configuration issue:

Options error: --verify-client-cert none|optional must be used with --management-client-auth, an --auth-user-pass-verify script, or plugin

To Reproduce
Download the following docker-compose.yaml and run docker compose up. The used server configuration can be seen here: https://github.com/jkroepke/openvpn-auth-oauth2/blob/85baba40dfb65fc62f8f25e8e84f39d293b901f8/tests/docker-compose.yaml#L65-L106

Expected behavior
If verify-client-cert none and management-client-auth is set in the configuration, the error should not appear.

Version information (please complete the following information):

  • OS: Ubuntu 24.04
  • OpenVPN version: master (6bb20fa)

Additional context
Seems like it worked before db48cea

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