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

    Disable remote VPN access without revoking cert

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 1.2k 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.
    • C
      Cyber-Wizard
      last edited by

      I realize that subject sounds stupid so I'll explain.

      My customer had to terminate a user and wanted disable their VPN access. They have accessed the UI and deleted both the users pfSense account as well as the certificate assigned to that user.
      In watching the logs, it's obvious that without revoking the cert, these steps by themselves will not disable a users access as the user is still able to establish an OpenVPN connection.
      I've added a block rule to the firewall to prevent access from that users IP but that obviously isn't the "correct" way to finalize this users termination.

      Does anyone know how to revoke a certificate that has already been deleted?

      pfSense v2.3.2

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        So I am guessing you were not using SSL/TLS+User AUTH, and just SSL/TLS..

        You can not revoke a cert that you do not have.. Do you have a copy of the cert so you can re add it?

        Your best bet is to just change your CA and re-issue new certs.. This time use revoke list for when this happens in the future and also change to ssl/tls+user auth.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          One place you might be able to find the user certificate is an export file you had previously generated.

          That would have both the user's cert and key. You should be able to import them then revoke it.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • C
            Cyber-Wizard
            last edited by

            Looks like several balls were dropped during the setup.
            This is helpful, guys. I appreciate your responses.
            The customer is obviously due for a pfSense/OpenVPN upgrade so I can get it set up correctly while I'm in there.
            Thanks again for your help!

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