I highly recommend that you reconsider the Zebra websocket solution at this point.
The best solution may still be a solution for mini-web servers.
My experience with Zebra websocket: Help:
First I tried to create a node.js solution (I read in several places that any server is doable). But after several unsuccessful connection attempts, even after Zebra signed the certificates - and the printer / server went through a successful connection process - it still failed with a mysterious error, which when viewed was due to a printer trying to verify that a specific Tomcat version / server used !!! ???
I received a response from a Zebra developer who is developing a .NET solution, but also cannot get it to work and is waiting for additional information from Zebra engineers before they can complete the solution. They said they would send it through the information when it had it, and hoped to receive it within a week (more than a week - until it was lucky).
So, I decided to build a Tomcat server - the only example that Zebra works ... I got a servlet example, but started to get new certificate problems (since I changed servers / domains, etc.), it made me think about everything awkward the process - and 1 transaction robber admitted - the very strict authentication and ssl signing process is too risky.
eg. Let's say you have 100 clients relying on this solution. If you NEVER have problems with a certificate (for example, changing a domain name, changing a serverโs settings, or revoking or expiring a certificate), then ALL 100+ clients do not have their own printer. But you cannot just fix it yourself. To fix / generate a new certificate, etc., the process of re-signing is slow and depends on external resources! (This is a Zebra btw manual process - you send an e-mail and you are left waiting for a significant amount of time before a Zebra employee will respond with a signed certificate).
This means that all clients of more than 100 clients without significant time do not work with the printer, but you do not have the OPTION option, but Zebra signs your certificate. For me, this is an unacceptable risk - (the websocket solution should NOT be associated with a certificate signed by Zebra - after you install the YOUR printer (or your client), you then configure the printer to specify the EXACT domain name / address for it to connect to).
With your solution for mini-servers - if the client has a problem - it will affect only one client, and you DO NOT rely on an external company to sign certificates to fix the problem.
Here are the identified problems and the associated risks.
PROBLEM 1) It is very poorly implemented - I cannot (and they also cannot) connect it to a standard server, different from a VERY specific Tomcat installation !!! RISK LEVEL: LOW - that is, the initial cost and time load - but as soon as the running permanent risk of this problem, causing a further problem, is minimal. RISKS: a) Limits development to specific servers and technologies. b) Increased time and costs for initial development / testing.
PROBLEM 2) Poorly documented - I identified (and Zebra checked) several errors in the documentation - the documentation is also scattered with important information thrown into the inaccessible readme.txt file, separate for the rest of the documentation. RISK LEVEL: LOW - that is, the initial cost and time load - but as soon as the running permanent risk of this problem, causing a further problem, is minimal. RISKS: a) Slows down initial development. b) Increased time and costs for initial setup / development.
PROBLEM 3) Printer / ssl authentication is poorly planned and implemented. It involves several steps - extremely restrictive and requires a slow zebra signing process, which creates constant risk. RISK LEVEL: HIGH - i.e. we cannot work with this solution. RISKS: a) Limits development to specific servers and technologies. b) slows down the initial development. c) Increased time and cost of initial installation / development. d) It creates a constant high-level risk for the project as follows: ---> The idea is that the company will rely on this solution to connect to the printer - therefore, any potential downtime can cause MAJOR BUSINESS DESTRUCTION. ---> ANY of the following scenarios would mean that ALL clients relying on this web-based mailing solution would work without printers for several days until new Zebra certificates were organized: ---> 1) The certificate expires , 2) The certificate is invalid, 3) The server has been moved, 4) the domain information is changed, 5) Tomcat server settings have been changed (due to the way the printer checks certain Tomcat / server settings) ---> In addition, the above 5 scenarios are known only based on my testing so far - can There may be other possible limitations that may indicate certificate failures that I have not yet met.
Summary: IMO Problem 3 is an unacceptable risk, and the following two things must happen before I review Zebra websites. 1) They need the correct documentation on how webcams connect to the server, because it is hidden, and even Zebra employees are currently in the dark. 2) They need to remove some authentication restrictions so that you can fix any problem without the time-consuming Zebra interaction.