Re: problem with "pem" file, no start line. centos.

2014-06-20 Thread PejuangSufi
I'm trying to use this program..what should i do..im stuck at the certificate
validation where i uses rsa key in pem

https://workspaces.codeproject.com/leon-finker/ssl-tls-client-server-for-net-and-ssl-tunnelling

Openssl for windows



--
View this message in context: 
http://openssl.6102.n7.nabble.com/problem-with-pem-file-no-start-line-centos-tp10791p51048.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: problem with "pem" file, no start line. centos.

2010-11-18 Thread David Schwartz

On 11/18/2010 12:50 AM, Steve yongjin Shin wrote:


-BEGIN RSA PRIVATE KEY-
...omitted..
-END RSA PRIVATE KEY-
-BEGIN CERTIFICATE-
...omitted...
-END CERTIFICATE-
=
so I started my vnc reflect server
but, it shows error message
=
openssl_init: SSL_CTX_use_certificate_chain_file() failed.
ssl error: error:0906D06C:PEM routines:PEM_read_bio:no start line
=
my test.pem file itself definitely has a start line.
but, it shows that kind of error message.


The program wants a private key file, not an RSA private key file. You 
can convert one to the other with 'openssl pkey'.


openssl pkey -in my_rsa_private_key.pem -out my_private_key.pem

DS

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org