tls-error-pem-routinespem_read_biono-start-line-while

Q & ACategory: Questionstls-error-pem-routinespem_read_biono-start-line-while
sudhe asked 2 weeks ago

I am trying to setup TLS communication b/w syslog-ng server and one of the client machine. When i try to start the syslog-ng service on my client side i get the below error. I have used the below steps to configure the certs for my client machine Error setting up TLS session context; tls_error=\\\’PEM routines:PEM_read_bio:no start line\\\’   CREATE CLIENT CERTcd /etc/pki/tls/CA/requestsopenssl genrsa -aes256 -out clientkey.pem 2048openssl req -new -key clientkey.pem -out client.csrcp clientkey.pem clientkey.pem_orgrm -rf clientkey.pemopenssl rsa -in clientkey.pem_org -out clientkey.pemopenssl ca -in client.csr -out client.pem     Error setting up TLS session context; tls_error=\\\’PEM routines:PEM_read_bio:no start line\\\’