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

    Openvpn, openldap and certificates

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 3.6k 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.
    • I
      itmanager
      last edited by

      I have PFsense 2.x (love it!) and it's working with OpenLDAP - I'm wondering how I'd setup the users with certificates.  I can setup local users with certificates but can't use ldap to authenticate.  I can use ldap to manage my users but I can't setup certificates.  If this is answered somewhere else, please let me know - I looked around for about 2 days…

      Thanks,
      Mitch

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

        Just use the certificate manager, make certificates with CN's that match the username, they should show up to export.

        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
        • I
          itmanager
          last edited by

          That would be great - just to confirm a few things - I create the certificates on the PFsense box that match the username from LDAP.  Then LDAP users would use their LDAP password and the PFsense certificate.  If the user doesn't have an LDAP account they can't get in OR if they don't have a certificate (but they have a valid LDAP account) they couldn't get in, right?  I want to make sure we can control users who are in LDAP but shouldn't have VPN access…

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

            Correct, and if you check the box for strict user/CN matching then they can't get in unless the CN of their certificate matches their auth username.

            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.