NetTalk Central

Author Topic: webserver example 79  (Read 3305 times)

harold peters

  • Newbie
  • *
  • Posts: 2
    • View Profile
webserver example 79
« on: April 12, 2026, 11:50:02 PM »
Has anyone ever got  example 79 to work (camera, barcode, QR scanning)? I am trying to implement QR scanning in a webserver app without success (clarion 11.1 Nettalk 14.37)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11327
    • View Profile
Re: webserver example 79
« Reply #1 on: April 19, 2026, 08:59:14 PM »
seems to work here. Note that it *has* to be on a secure connection (or 127.0.0.1).

harold peters

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: webserver example 79
« Reply #2 on: April 20, 2026, 01:15:49 AM »
trying to create a self signed certificate
CreateSelfSignedCertificate.bat

get this error

how do I generate YourRandom.rnd

Can't load .\YourCARoot\private\YourRandom.rnd into RNG
EC6F0000:error:12000079:random number generator:RAND_load_file:Cannot open file:crypto\rand\randfile.c:107:Filename=.\YourCARoot\private\YourRandom.rnd

rjolda

  • Sr. Member
  • ****
  • Posts: 440
    • View Profile
    • Email
Re: webserver example 79
« Reply #3 on: April 21, 2026, 07:00:29 AM »
HI Harold,
I have QR code scanning and camera taking pictures using a NT web server.  Using Easy Cam to do some of this.  If you test locally 127.0.0.1 with you barcode scanner connected, then it will work fine.  No security certificate needed.  I would suggest you do this on your local machine first to get it going ( run your web server on local machine with qr reader connected).    You essentially have 2 options - read it through a USB interface (HID) and get text returned into a text box or use a USB-Serial interface.  I did a small show and tell on this about 2 years ago on net talk webinar.  If you use the HID (USB) interface, then you can test your code reader in any text box - just open something in notepad and scan something and the HID interface will place it right into the active document.
Ron

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11327
    • View Profile
Re: webserver example 79
« Reply #4 on: April 22, 2026, 05:55:48 PM »
trying to create a self signed certificate
CreateSelfSignedCertificate.bat

That Bat file is not used anymore.
On the Certificates tab (in the running program)
Simply put the server address into the "domain" box, and click on "Certificates" button.
The address is typically just he machine name (like Daisy) or an Ip address (192.168.1.1)

see https://www.capesoft.com/docs/NetTalk14/NetWebRuntimeSettings.htm