Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN, remote access server with SSL/TLS + User Auth glitch

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    3
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kpa
      last edited by

      This is with "2.0-BETA4  (i386) built on Wed Aug 25 02:21:33 EDT 2010 FreeBSD 8.1-RELEASE" snapshot.

      If you create a new remote access server with SSL/TLS + User Auth options the "Backend for authentication" -selection has nothing selected by default and if you forget to select anything there you'll get no error when you press save and a rather cryptic error in the openvpn log:

      
      openvpn[13201]: Options error: --username-as-common-name must be used with --management-client-auth, an --auth-user-pass-verify script, or plugin
      
      

      I think the Local Database should be selected by default or there should be a note somewhere in the UI that prompts you to select something in the "Backend for authentication" selection.

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        Same with latest snapshot "2.0-BETA4  (i386) built on Mon Aug 30 03:10:11 EDT 2010 FreeBSD 8.1-RELEASE".

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          I added a bit of input validation to prevent that invalid choice from being made.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.