SSL error loading cert file

Hello,

I am trying to get TLS working on CentOS 5 with asterisk 1.8.15.1. After issued an asterisk.pem file, I have added the following to /etc/asterisk/sip.conf

tlsenable=yes
tlsbindaddr=0.0.0.0
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=tlsv1

But when I reload sip.conf, I get the below error message about the cert.

“SSL error loading cert file. </etc/asterisk/keys/asterisk.pem>”

I have created the cert with this command

./ast_tls_cert -C pbx.sorry.com -O “My Computer” -d /etc/asterisk/keys

contents of /etc/asterisk/keys
asterisk.crt
asterisk.key
asterisk.csr
asterisk.pem
ca.cfg
ca.key
ca.crt

Thanks.