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

    Error: private key password verification failed

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 12.0k 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.
    • G
      gazoder
      last edited by

      Hi , im using pfsense v1.2.3 and try to make openvpn .Found some tutorials and followed them . First when i copy certificate it gives me error sertificate is not valid.  I manually wrote RSA in –-BEGIN PRIVATE KEY---- and so on and  all went good. So i finally set up openvpn but whe i try to log connection fails. When enter in sys logs>openvpn see this  :
      openvpn[63712]: Exiting
      Dec 11 10:59:28 openvpn[63712]: Error: private key password verification failed
      Dec 11 10:59:28 openvpn[63712]: Cannot load private key file /var/etc/openvpn_server1.key: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag: error:0D06C03A:asn1 encoding routines:ASN1_D2I_EX_PRIMITIVE:nested asn1 error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error: error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib: error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1 lib: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib.

      any1 know how to solve this ?
      ty in advance.

      1 Reply Last reply Reply Quote 0
      • B
        BSV
        last edited by

        is this an error like this topic? http://forum.pfsense.org/index.php?topic=24539.0

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          One or more certificates weren't generated correctly. Upgrade to 2.x and use the built-in cert manager, it's much, much easier to generate certs with.

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