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

OpenVPN generates error "Private Key Password"

Scheduled Pinned Locked Moved OpenVPN
6 Posts 2 Posters 225 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.
  • T
    TSO2
    last edited by Mar 20, 2025, 7:54 PM

    OpenVPN generates error "Private Key Password" required
    There is no password, It has worked fine for years, then suddenly this morning I get this error when trying to login
    OpenVPN Client v2.6x
    pfSense 2.7.2
    Can anyone help please, I have spent hours trying to figure it out

    V 1 Reply Last reply Mar 20, 2025, 8:41 PM Reply Quote 0
    • V
      viragomann @TSO2
      last edited by Mar 20, 2025, 8:41 PM

      @TSO2 said in OpenVPN generates error "Private Key Password":

      OpenVPN generates error "Private Key Password" required

      I guess, that you're talking about a client software, but not the OpenVPN in pfSense.
      So probably the private key is password protected.

      T 1 Reply Last reply Mar 20, 2025, 9:08 PM Reply Quote 0
      • T
        TSO2 @viragomann
        last edited by Mar 20, 2025, 9:08 PM

        @viragomann
        Yes, Its the client that throws the error,
        However there is no password, there never was
        It has been working for years without change without the password

        V 1 Reply Last reply Mar 20, 2025, 9:15 PM Reply Quote 0
        • V
          viragomann @TSO2
          last edited by Mar 20, 2025, 9:15 PM

          @TSO2
          Which Client?
          Which OS?

          What does the certificate line in the client config looks like?

          T 1 Reply Last reply Mar 20, 2025, 9:32 PM Reply Quote 0
          • T
            TSO2 @viragomann
            last edited by Mar 20, 2025, 9:32 PM

            @viragomann
            OpenVPN 2.6.7 - OpenVPN GUI v 11.45.0.0
            Windows 11

            Not sure what you mean certificate line
            pkcs12 XXXX.p12
            tls-auth XXXX.key 1

            XXXX is the file name

            V 1 Reply Last reply Mar 20, 2025, 9:46 PM Reply Quote 0
            • V
              viragomann @TSO2
              last edited by Mar 20, 2025, 9:46 PM

              @TSO2
              The private key is inside the .p12 file. You can try to install it in Windows to see if it is password protected. If so Windows will request it.

              But it's also possible that you have updated the client software and the new one works only with private key password?

              If you need a .p12 with a password can export it from the pfSense certificate manager.
              The password can be stored in the OpenVPN GUI, so it is not requested any further.
              Also you can export a new config archive from the client export utility. Here you can also select to use the Windows certificate store. Then you only need to password (if set), when you import it. But this require a new config file as well.

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