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

    Unable to connect a client to OpenVPN pfsense 2.3

    Scheduled Pinned Locked Moved OpenVPN
    18 Posts 5 Posters 6.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.
    • E
      emel_punk
      last edited by

      It does not work with the wizard either, so it's kind of weird…

      1 Reply Last reply Reply Quote 0
      • PippinP
        Pippin
        last edited by

        No one read/notice this error?

        VERIFY ERROR: depth=1, error=certificate is not yet valid:
        

        Check your certificates, date, time.

        I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
        Halton Arp

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

          Your clients have the wrong certs from your openvpn config then?  As I mentioned before your clients are quite OLD.. 2.3.2 is very OLD client…

          How are you configuring the client??  Do you have access to your key file?

          "11:07:01 2016 WARNING: file 'key.key' is group or others accessible"

          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
          • E
            emel_punk
            last edited by

            The certs dates are

            
            Valid From: Thu, 28 Apr 2016 12:59:10 -0500
            Valid Until: Sun, 26 Apr 2026 12:59:10 -0500 	
            
            

            I download the Viscosity files from the client export and run "openvpn config.conf" as I have been doing before.  :'(

            1 Reply Last reply Reply Quote 0
            • PippinP
              Pippin
              last edited by

              You start this thread on April 25, 2016, 06:09:56 pm and your certificate is
              Valid From: Thu, 28 Apr 2016 12:59:10 -0500

              Maybe today you will be lucky  :)

              I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
              Halton Arp

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

                "error=certificate is not yet valid"

                good catch.. So your time on your pfsense is OFF would seem, if you ran through the wizard and created those dates..

                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
                • E
                  emel_punk
                  last edited by

                  Dude I have erased and created the certs a lot, the last time was today….

                  1 Reply Last reply Reply Quote 0
                  • PippinP
                    Pippin
                    last edited by

                    The log message you posted…. never mind.

                    I also see version 2.3.2 eurephia version, try the latest if possible, dude

                    I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                    Halton Arp

                    1 Reply Last reply Reply Quote 0
                    • E
                      emel_punk
                      last edited by

                      guys, i have recorded what I do to configure so please check out here and tell me what I am doing wrong.

                      Youtube Video

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

                        I tried watching that.. its horrific… Why don't you just take some screen shots, and post them??  Vs that up and down, its so freaking blurry can not even tell what your doing..

                        Why are you trying to use the viscosity config in a linux client?

                        viscosity.png
                        viscosity.png_thumb

                        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
                        • PippinP
                          Pippin
                          last edited by

                          Almost 3 years… ;)

                          I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                          Halton Arp

                          1 Reply Last reply Reply Quote 0
                          • E
                            emel_punk
                            last edited by

                            Sorry to all, but my problem was not the version… I had my timezone set to "Universal", so the  error=certificate is not yet valid was the mismatch between the server and my computer's time

                            Both versions of openvpn 2.3.2 and 2.3.10 now work fine.

                            Thank you to all you people.

                            One last question, where do I put a label to the post as resolved?

                            1 Reply Last reply Reply Quote 0
                            • D
                              divsys
                              last edited by

                              Go to your first posted message and click "Modify", change the title to add "[Solved]".

                              -jfp

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

                                Being in different timezones is not a problem..  But having the wrong time while your in a timezone sure going to have a problem ;)

                                Why you should always sync off ntp ;)  Which set your time correct for the timezone your in..

                                But you still have a really OLD client, why would you not updated that… But maybe its because your running on a linux distro that last update was what 2011?

                                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
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.