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

OpenVPN password prompt on boot

Scheduled Pinned Locked Moved General pfSense Questions
7 Posts 3 Posters 2.8k 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.
  • N
    nathanthegr8
    last edited by May 28, 2017, 4:51 AM

    I have an issue very similar to this thread https://forum.pfsense.org/index.php?topic=123054.0

    I get a prompt for a password on system boot. I assume it is also something I have configured wrong in my VPN settings. Here is a screenshot of my config http://imgur.com/a/lhd0i

    Is the server mode setting wrong or is it my server cert setting?

    1 Reply Last reply Reply Quote 1
    • S
      stephenw10 Netgate Administrator
      last edited by May 28, 2017, 6:00 PM

      I expect that to come from an OpenVPN client rather than the server, do you have any configured?

      Otherwise it can be from an encrypted cert as mentioned in that other thread.

      Steve

      1 Reply Last reply Reply Quote 0
      • N
        nathanthegr8
        last edited by May 28, 2017, 8:39 PM

        Here are some screen shots of my client page. I do have two clients configured

        http://imgur.com/a/iqK2Q

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 28, 2017, 9:25 PM

          Ok, it looks like you have two clients trying to connect to the same server on the same port using the same user. I'm not sure why you'd want that.

          However they are using different TLS keys, only one can be correct if they connect to the same server.

          The second client also has no password filled in so if that server requires a username/password that's probably the issue. Try disabling that client.

          Both clients are using the server certificate as their cert which is almost certainly incorrect. Even if it's for some reason what you chose to do it's a server cert not a client cert.

          Steve

          1 Reply Last reply Reply Quote 0
          • N
            nathanthegr8
            last edited by May 29, 2017, 1:23 AM

            Looks like you were right Steve when I disabled the client without a password and rebooted it didn't prompt me! I am not sure why I configured two clients, I probably just messed up when setting it up. I didn't realize they couldn't both use the same port. Thank you for your help figuring this out. Turns out I just did something stupid configuring OpenVPN.

            1 Reply Last reply Reply Quote 0
            • S
              ssbarnea
              last edited by Mar 17, 2019, 7:24 AM

              This bug is still present and what is worse is that can happen even if you configured it to load credentials from file. It did render my router useless on reboot. As stated by ohers this should NEVER halt the boot process, regardless how the service is configured.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Mar 17, 2019, 3:46 PM

                You configured it to load external credentials and it worked but then failed to auth at boot?

                Steve

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