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

    User cert revoked by itself.

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 611 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.
    • S
      shshs
      last edited by

      Hi guys,

      I have a weird issue and I hope you'll help me to clarify it. It's second time I've been contacted by user with OpenVPN connection problem. When I checked the user certificate status it was labeled as "Revoked User Cert"
      Screenshot 2023-02-01 at 14.18.59.png
      Then I've reissued the certificate and problem was solved. But I don't understand the root cause. I had no this user certificate in any of my CRLs, moreover the certificates I use to revoke intentionally via CRL have status "Revoked" in System->Certificate Manager->Certificates menu. pfSense config hasn't been changed also (I use the latest version 2.6.0-RELEASE (amd64)).
      What could be the reason for this revocation? Thank you.

      NogBadTheBadN 1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad @shshs
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Certificates are revoked by serial number. If you somehow have multiple certificates from the same CA with the same serial number, revoking one will end up revoking all certificates with the same serial number issued by that CA.

          This can happen if you export/import the CA to another system but don't set the correct "Next Serial" when importing. For example if you made 10 certs from a CA (starts at serial 1), then imported the CA to a new system and didn't set it, the first 10 certs you make will have the same serial number as the one generated on the previous system.

          Using the random serial number option on a CA is a good way to avoid this as well as improving security. You can edit the CA entry and turn this on at any time.

          You will need to generate new certificates for anyone that has an overlapping serial number.

          You can check the serials by looking at the certificate properties in the certificate list.

          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!

          S 1 Reply Last reply Reply Quote 1
          • S
            shshs @jimp
            last edited by

            @jimp thanks a lot, this is exactly my case. Cheers!

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