MediaMTX + SSL #3322
Replies: 1 comment
-
I have an IIS web server running on the same machine that uses ports 80 and 443 for the site. I use Let's Encrypt to create certificates for that site using the Win-Acme solution, WACS.EXE. You can find the password using (a)Manage Renewals > (d)Show Details > .pfx Password Those certificates and the keys are then saved in the ProgramData folder. This is from memory, so I cannot tell you the path in linux servers. Which I am assuming you are using, but you didnt specify. I do not believe the *nix programs use a PFX, but possibly a PEM. But the process should be similar. You can use OpenSSL to export the cert and unencrypted key and save them to the MediaMTX folder so they can be used. I think the issue is going to be the UNENCRYPTED key for you. I use the following to get the unencrypted key :
Then I point MediaMTX to use the server-unencrypt.key and server.crt. |
Beta Was this translation helpful? Give feedback.
-
Question
I have used Let's Encrypt and CertBot to generate valid SSL certificates for Apache on a test server.. is there a way for me to get MediaMTX to use these as well? So far, it seems to just say 'authentication failed" no matter what I do if i'm not connecting via localhost or LAN IP address (those two work)...
Ideally, I'd love to be able to set up a stream or playlist on a webpage with valid SSL inherited from Apache2
Beta Was this translation helpful? Give feedback.
All reactions