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

Unique CN but allow duplicate username

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 491 Views
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.
  • A
    AdrianPortas
    last edited by May 3, 2021, 12:49 PM

    Hi,

    My goal is to let some users to have multiple client certificates and allow them to login in two or more devices with the same username. For instance, user1 can login to the server with two client certificates, laptop and mobile phone, and only one username.

    I configured an OpenVPN server to log in with client certificate and remote login.

    • Server mode = Remote Access (SSL/TLS + User Auth)

    If I try to login with the same username and different certificates I get the next error:

    MULTI: new connection by client 'user1' will cause previous active sessions by this client to be dropped. Remember to user the --duplicate-cn option if you want multiple clients using the same certificate or username to concurrently connect.

    The server option duplicate-cn let me to login with the same username but also let me to duplicate the client certificate. I preffer to avoid the use of the same client certificate more than once.

    I read some old post regarding this topic but couldnt find a solution since the code seems to be updated.

    https://forum.netgate.com/topic/139892/unique-cn-common-username/2

    Its possible to do it? I also have read the server options for OpenVPN but couldnt find anything.

    Regards, Adrian.

    1 Reply Last reply Reply Quote 0
    • V
      viktor_g Netgate
      last edited by May 5, 2021, 1:03 PM

      Not sure if this is supported by the openvpn binary
      you can check it on https://community.openvpn.net/openvpn/report/

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received