AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.61k stars 1.06k forks source link

Could not create a certificate from file #1429

Closed umeshshende closed 1 year ago

umeshshende commented 1 year ago

Describe the bug I was installing letsencrypt SSL certificate but when restart server im getting below error

Reason: [default] Could not create a certificate from file - [OpenSSL] error:16000069:STORE routines::unregistered scheme (369098857) Cert file path: /etc/letsencrypt/live/serverurl.com/cert.pem Chain cert file path: /etc/letsencrypt/live/serverurl.com/chain.pem Private key file path: /etc/letsencrypt/live/serverurl.com/private.pem

To Reproduce Steps to reproduce the behavior:

  1. im using azure vm i also opened required ports you can see in image and basic installation done following https://airensoft.gitbook.io/ovenmediaengine/getting-started image

  2. Without SSL it is working using ws url

  3. Then i install letsencrypt using following command

  4. sudo certbot certonly --standalone --email test@server.net --agree-tos -d server.com

  5. i have got the success message

  6. Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/server.com/fullchain.pem Key is saved at: /etc/letsencrypt/live/server.com/privkey.pem This certificate expires on 2024-02-01. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background.

  7. I have verified files are present there

  8. i restarted server using azure vm restart.

  9. Also followed TLS this for HTTPS you can check attached server.xml

Expected behavior It should create Certificate and allow me to use WSS port

Logs log_03_11_2023-.txt Server.xml file

Server (please complete the following information):

Player (please complete the following information):

Additional context Add any other context about the problem here.

umeshshende commented 1 year ago

It was typo issue which is duplicate of this or you can delete this open issue