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 List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to