Error: private key password verification failed

  • 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.

  • is this an error like this topic?

  • 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.

Log in to reply