Page 1 of 1

x509 certificate routines:X509_check_private_key:key values

Posted: Wed Feb 19, 2014 8:08 am
by janhoedt
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.

Re: x509 certificate routines:X509_check_private_key:key val

Posted: Fri Feb 21, 2014 1:32 pm
by maikcat
did you protected the private key wth a password?

Michael.