55
Chapter 2
Setup
2
Registering Web Contents
Re
gi
s
t
er
ing
Web co
nt
e
nt
s
t
o
t
h
i
s prod
u
c
t
allows
t
he
u
se of a Web server
t
ha
t
i
s accessed from a
n
in
p
ut
t
erm
in
al for co
nt
e
nt
d
i
s
t
r
i
b
uti
o
n
.
Yo
u
ca
n
per
i
od
i
cally
u
pda
t
e Web co
nt
e
nt
s o
n
t
h
i
s prod
u
c
t
by
u
s
ing
a Web server for d
i
s
t
r
i
b
uting
Web co
nt
e
nt
s
t
ha
t
i
s separa
t
e from
t
h
i
s prod
u
c
t
. Yo
u
ca
n
u
pda
t
e cer
ti
f
i
ca
t
e f
i
les
u
sed by
t
h
i
s prod
u
c
t
.
Creating Web Contents
Th
i
s sec
ti
o
n
expla
in
s
t
he
t
ypes of Web co
nt
e
nt
s, a
n
d
t
he folder co
n
f
igu
ra
ti
o
n
u
sed.
Types of contents
• Web co
nt
e
nt
s: HTML
f
i
les, CSS f
i
les, JavaScr
i
p
t
f
i
les, a
n
d Ima
g
e da
t
a
• Cer
ti
f
i
ca
t
e f
i
les: Server
a
ut
he
nti
ca
ti
o
n
cer
ti
f
i
ca
t
e, SSL a
ut
he
nti
ca
ti
o
n
cer
ti
f
i
ca
t
e
File capacity
Z
i
p
t
he f
i
les
t
o be re
gi
s
t
ered all
t
o
g
e
t
her. The z
i
p f
i
le
n
ame
i
s arb
it
rary.
Folder configuration
Co
n
f
igu
re folders
in
t
he follow
ing
ma
nn
er.
Use one-byte alphanumeric characters (ASCII characters) for a zip file name and sub-folder
name.
The maximum size of the files before being zipped is 30 MB. Otherwise, registering fails.
Save crossdomain.xml and clientaccesspolicy.xml to the root folder if the user web
application path is “/”.
ePOS-Device_UM_E_Sample.zip
.................: Zip file
index.html
css
*.css
img
*.bmp
*.jpg
*.png
js
*.js
sample
*.html
ssltrustedcerts
............................................ : Server authentication certificate
example.pem
sslservercerts
.............................................. : SSL authentication certificate
ServerCrt.crt
ServerKey.key
ChainCrt.crt
<Example for sample program>