x509 certificate routines:X509_check_private_key:key values

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
janhoedt
OpenVPN Power User
Posts: 56
Joined: Wed Sep 21, 2011 3:10 pm

x509 certificate routines:X509_check_private_key:key values

Post by janhoedt » Wed Feb 19, 2014 8:08 am

Hi,

I have an Iphone 5 with OpenVPN connect. I connect to a Synology NAS. I exported the certificates, they work fine only the private key seems a problem.
Please advise.

Log:

Wed Feb 19 09:00:47 2014 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Wed Feb 19 09:00:49 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Feb 19 09:00:49 2014 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Feb 19 09:00:49 2014 Cannot load private key file [[INLINE]]: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Wed Feb 19 09:00:49 2014 Error: private key password verification failed
Wed Feb 19 09:00:49 2014 Exiting

Key (randomized numbers):

<key>
-----BEGIN RSA PRIVATE KEY-----
MsqsdfIICXAIBAAKsdqfqsfdBBafLdQ= ...
-----END RSA PRIVATE KEY-----
</key>

J.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: x509 certificate routines:X509_check_private_key:key val

Post by maikcat » Fri Feb 21, 2014 1:32 pm

did you protected the private key wth a password?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply