Guide: Automating Netcam Studio HTTPS with win-acme on Windows 11

Guide: Automating Netcam Studio HTTPS with win-acme on Windows 11

This guide outlines how to configure a free Let’s Encrypt TLS/SSL certificate for Netcam Studio 64-bit using win-acme (WACS). Because Netcam Studio runs its own standalone web server engine, it natively requires a password-protected PKCS#12 (.pfx) archive file deployed to its installation directory and explicitly imported into the Windows Local Machine Personal Certificate Store.

Using the steps below, the entire renewal process becomes 100% automated.


Step 1: Firewall Configuration

Let’s Encrypt requires Port 80 to be open locally for domain ownership validation. Netcam Studio serves secure traffic natively over Port 8100.

  1. Right-click the Windows Start menu button and select Terminal (Admin) or PowerShell (Admin).

  2. Execute the following commands to open the necessary inbound firewall rules:

    New-NetFirewallRule -DisplayName "Let's Encrypt Verification (TCP 80)" -Direction Inbound -LocalPort 80 -Protocol TCP -Action Allow
    New-NetFirewallRule -DisplayName "Netcam Studio HTTPS (TCP 8100)" -Direction Inbound -LocalPort 8100 -Protocol TCP -Action Allow
    
  3. Note: Ensure Port 80 and Port 8100 are also explicitly forwarded to this host machine’s local IP address within your router/gateway settings.


Step 2: win-acme Download & Deployment

  1. Download the latest x64 pluggable version from the official site.
    https://www.win-acme.com/
  2. Extract the archive contents into a permanent directory on your file system (e.g., C:\win-acme).

Step 3: Interactive Certificate Generation

  1. Navigate to your extracted folder (C:\win-acme), right-click wacs.exe, and select Run as Administrator.
  2. Type M (Create certificate with full options) and press Enter.
  3. Type 2 (Manual input) and press Enter.
  4. Provide your target domain name (e.g., yourdomain.com) and press Enter. Press Enter a second time to bypass the friendly name option.
  5. At the splitting prompt, choose 4 (Single certificate) and press Enter.
  6. At the validation/ownership prompt, choose 2 ([http] Serve verification files from memory) and press Enter.
  7. For the private key type, choose 2 (Standard RSA key) and press Enter.
  8. At the storage prompt, select 3 (PFX archive) and press Enter.
    • Local Path: Input C:\Program Files\Netcam Studio - 64-bit and press Enter.
    • File Name: Hit Enter to allow win-acme to dynamically assign the domain name to the .pfx file (it will create yourdomain.com.pfx).
    • Password Mode: Type 2 (Type/paste in console) and press Enter.
    • Password Entry: Type a chosen secure password (e.g., your_secure_password) and press Enter.
    • Vault Choice: Type n and press Enter to decline saving the password to an internal vault.
  9. At the additional storage prompt, choose 5 (No (additional) store steps) and press Enter.
  10. At the installation step prompt, choose 2 (Start external script or program) and press Enter.
    • Script Path: Input C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe and press Enter.

    • Parameters: Copy and paste the following absolute argument block entirely on one line (replace placeholders with your actual domain and password):

      -Command "Import-PfxCertificate -FilePath 'C:\Program Files\Netcam Studio - 64-bit\yourdomain.com.pfx' -CertStoreLocation Cert:\LocalMachine\My -Password (ConvertTo-SecureString 'your_secure_password' -AsPlainText -Force); Restart-Service -Name NetcamStudioSvc64"
      
  11. Choose 3 (No additional installation steps) to finish the installation pipeline configurations.
  12. Press Enter to decline opening the Terms of Service PDF document. Type y to formally accept the terms when prompted.
  13. Input your email address for Let’s Encrypt system renewal notifications, then press Enter.
  14. At the Task Scheduler identity prompt, choose n (or press Enter) to bind execution under the background Windows SYSTEM account.
  15. Type Q and press Enter to safely quit the wizard.

Step 4: Link Certificate Parameters to Netcam Studio Config

You must inform Netcam Studio how to locate and decrypt the compiled .pfx file.

  1. Navigate to your local server folder: C:\Program Files\Netcam Studio - 64-bit.

  2. Open both of the following runtime configuration files with an administrator-elevated instance of Notepad:

    • NetcamStudioX.exe.config (App mode)
    • NetcamStudio.Service.exe.config (Background Service mode)
  3. Scroll to the bottom structure of each file, locate the <appSettings> block, and add the following two key strings directly above the closing </appSettings> element tag:

    <add key="WebServerCertificate" value="yourdomain.com.pfx" />
    <add key="WebServerCertificatePass" value="your_secure_password" />
    
  4. Save and close both files.


Step 5: Initial Execution & Validation

  1. Use the Windows Run Shortcut (Win + R), type services.msc, and press Enter.
  2. Locate Netcam Studio Service 64-bit, right-click it, and choose Restart.
  3. Launch an external web browser and head to https://yourdomain.com:8100. Confirm that a secure connection is successfully established with a valid cryptographic padlock icon.

Renewal Lifecycle Behaviour

No manual updates are needed moving forward. Every 55 days, the native Windows Task Scheduler event created by win-acme will awaken silently, communicate with Let’s Encrypt to pull a fresh certificate, replace the .pfx asset in your Netcam Studio directory, inject it straight into the Windows Certificate Store, and cycle the service automatically.