Typo In Http.conf Sample File ?

Home » Asterisk Users » Typo In Http.conf Sample File ?
Asterisk Users 1 Comment

Hello,

I’m having my first steps with WebRTC.

I’ve found this line in http.conf.sample (asterisk 13.7.0):
;tlsprivatekey= ; path to private key file (*.pem)
only.

Is it a typo ?
I expected something like:
;tlsprivatekey= ; path to private key file (*.key)
only.

Regards

One thought on - Typo In Http.conf Sample File ?

  • ​Not really. The private key file must be in pem format.​ The file MAY
    also contain the certificate but the key still has to be in pem format.

    If you do have a combined file, you can just specify it in tlscertfile and leave tlsprivatekey unset or specify the same file for both options.

    I expected something like: