Blue Iris, Stunnel HTTPS, Media Tiles: Step-By-Step Guide

I’m not 100% sure about this, but…

I think you still might need Stunnel to create the Secure HTTPS layer to Blue Iris.

However, you might be able to use the default Certificates that come with Stunnel ??? It’s been a while since I originally installed it and I can’t recall what was “inside” those stock pem files.

image

Or perhaps there are how-to’s here at Stunnel: stunnel: Documentation

thank you for these detailed instructions. But, can someone help, in the Breadcrumbs link, I get to this step:

Hopefully all went well, and the contents of your cert are now saved into the $cert variable. Now we’ll save the cert data in a way for stunnel to read it. I’ll assume stunnel is installed to the default location

Copy-Item $cert.KeyFile -Destination “C:\Program Files (x86)\stunnel\config\mydomain.com.pem” -Force
Get-Content -Path $cert.CertFile -Raw | Add-Content -Path “C:\Program Files (x86)\stunnel\config\mydomain.com.pem” -Force
Copy-Item $cert.FullChainFile -Destination “C:\Program Files (x86)\stunnel\config\mydomain.com.cafile.pem” -Force

Question 1) Do I replace the paths above and change “mydomain.com” to my actual namecheap domain??
Question 2) I’m pretty sure I’ve tried both ways above, and the message I get in powershell is:

Get-Content : Cannot bind argument to parameter ‘Path’ because it is null.
At line:1 char:19

  • Get-Content -Path $cert.CertFile -Raw | Add-Content -Path "C:\Progra …
  •               ~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:slight_smile: [Get-Content], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Co
      mmands.GetContentCommand

what does this mean? “Downloading from your Browser/Domain ServerWebGUI Tools” - downloading from what site?

Hi @stansoltz

By way of background, I only popped the “Breadcrumbs” link in there just for reference… didn’t mean to send you down the Rabbit Hole :grimacing:

Can you try going through my Step/By/Step using the methods I put forth? I used Windows Explorer & Notepad to do all the copy/pasting editing (see Line #41…).

Then report back any specific Line Number that you might have a question on.

Check out Line #28

The first column indicates where you are doing things (in Blue Iris; Router; Stunnel; Domain Host; Windows Explorer)

So you want to use your Web Browser to log into your Domain Web Host (get to its Control Panel or Web Page/Graphic User Interface Tools)

Hi John, with respect to line 28, I’m pretty sure I have that setup?

It seems like you are using namecheap with let’s encrypt certificates - can you share how you downloaded the files or overcame that " ```
Cannot bind argument to parameter ‘Path’ because it is null.

Can you look at your other options on your Domain Control Panel ? I think Whitelisting is different than Manage DNS Records and creating an “A” Reference.

Can you try using the Windows Explorer Method I’ve suggested, rather than the command lines ?