Where to set the password for an OpenVPN server with login/password authentication?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I would like to setup an OpenVPN server which would accept credential based authentication from clients. The concept is described in the documentation:




While it is discouraged from a security perspective, it is also
possible to disable the use of client certificates, and force
username/password authentication only. On the server:



client-cert-not-required


Such configurations should usually also set:



username-as-common-name


which will tell the server to use the username for indexing purposes
as it would use the Common Name of a client which was authenticating
via a client certificate.




Where and how is this password set up?



I would like it to be the same for all clients (which would just identify themselves via the username, per username-as-common-name above)










share|improve this question

























    up vote
    0
    down vote

    favorite












    I would like to setup an OpenVPN server which would accept credential based authentication from clients. The concept is described in the documentation:




    While it is discouraged from a security perspective, it is also
    possible to disable the use of client certificates, and force
    username/password authentication only. On the server:



    client-cert-not-required


    Such configurations should usually also set:



    username-as-common-name


    which will tell the server to use the username for indexing purposes
    as it would use the Common Name of a client which was authenticating
    via a client certificate.




    Where and how is this password set up?



    I would like it to be the same for all clients (which would just identify themselves via the username, per username-as-common-name above)










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I would like to setup an OpenVPN server which would accept credential based authentication from clients. The concept is described in the documentation:




      While it is discouraged from a security perspective, it is also
      possible to disable the use of client certificates, and force
      username/password authentication only. On the server:



      client-cert-not-required


      Such configurations should usually also set:



      username-as-common-name


      which will tell the server to use the username for indexing purposes
      as it would use the Common Name of a client which was authenticating
      via a client certificate.




      Where and how is this password set up?



      I would like it to be the same for all clients (which would just identify themselves via the username, per username-as-common-name above)










      share|improve this question













      I would like to setup an OpenVPN server which would accept credential based authentication from clients. The concept is described in the documentation:




      While it is discouraged from a security perspective, it is also
      possible to disable the use of client certificates, and force
      username/password authentication only. On the server:



      client-cert-not-required


      Such configurations should usually also set:



      username-as-common-name


      which will tell the server to use the username for indexing purposes
      as it would use the Common Name of a client which was authenticating
      via a client certificate.




      Where and how is this password set up?



      I would like it to be the same for all clients (which would just identify themselves via the username, per username-as-common-name above)







      networking vpn openvpn






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 14 at 8:52









      WoJ

      4332924




      4332924

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014806%2fwhere-to-set-the-password-for-an-openvpn-server-with-login-password-authenticati%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014806%2fwhere-to-set-the-password-for-an-openvpn-server-with-login-password-authenticati%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491