Table of Contents

Using Camera from WebView

The task is:

Marcel means it would be possible, when we use HTTPS for communication between our server and mobile client. The question is to:

So:

Current status

Found facts and solution

Reading Bar code

The following bar codes should be supported (sorted by priority):

See also the email from Klaus Gebauer “ClientMobile: Barcodes” (sent at 13.03.2023).

I found the following libraries:

Misc

Settings

Useful reading

SSL/TLS Configuration How-To (for Apache Tomcat 9.0)

Original: SSL/TLS Configuration How-To (for Apache Tomcat 9.0)

SSL/TLS and Tomcat

Certificates

General Tips on Running SSL

…

Configuration

Prepare the Certificate Keystore

Tomcat currently operates only on keystores in following formats:

To create a keystore with keytool:

"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSA -keystore \path\to\my\keystore
Edit the Tomcat Configuration File

Tomcat can use three different implementations of SSL:

…

The final step is to configure the Connector in the $CATALINA_BASE/conf/server.xml file, where $CATALINA_BASE represents the base directory for the Tomcat instance. An example <Connector> element for an SSL connector is included in the default server.xml file installed with Tomcat. To configure an SSL connector that uses JSSE, you will need to remove the comments and edit it so it looks something like this:

<!-- Define an SSL Coyote HTTP/1.1 Connector on port 8443 -->
<Connector
  protocol="org.apache.coyote.http11.Http11NioProtocol"
  port="8443" maxThreads="200"
  scheme="https" secure="true" SSLEnabled="true"
  keystoreFile="${user.home}/.keystore" keystorePass="changeit"
  clientAuth="false" sslProtocol="TLS"/>