Upload
nguyentuyen
View
229
Download
0
Embed Size (px)
Citation preview
XML - DigitalSignature
2
...................................................................................................................... 3
............................................................................................ 4
......................................................................................................... 18
........................................................................................................ 25
XML - DigitalSignature
3
XML PDF
(Digital Signature) XML PDF
Digital Certificate
Certificate Authority (CA) Paperless
(Digital Signature) XML PDF ( Digital Certificate
Paperless )
2 - Front
Office Back Office
Manual EDI -
Paperless
- XML
XML (XML Schema)
XML - DigitalSignature
4
XML PDF
XML PDF
1) Windows XP, Windows
2003, Windows Vista Windows 7
ADSL )
2) Digital Certificate ( )
(Paperless Customs)
Certificate Authority (CA)
) (TOT CA) ( ) (CAT CA)
: Digital
Certificate Digital Certificate
Paperless
: Digital Certificate CA
(Paperless Customs) OU Subject
( OU Subject
) O Subject ( O
) OU O Subject Digital Certificate
New Technology Information Co.,Ltd.
XML - DigitalSignature
5
3) Digital Certificate TAXID
TAXID XML PDF
( )
4)
http://www.ca.tot.co.th/ (TOT CA) http://www.thaipki.com/ (CAT CA)
CAT CA TOT CA
5) Root Certificate CA Digital Certificate CA
CA CAT CA
http://www.thaipki.com/Cert.zip ( Unzip TOT CA
http://www.ca.tot.co.th/download/TOT_ROOT_CA.crt)
XML - Digital 6
Root Certificate CAT CA ( Root Certificate CA Digital
Certificate)
a. cacert.crt
b. Install Certificate…
XML - DigitalSignature
7
c. Next> Place all
certificates in the following store
d. Browse… Trusted Root
Certification Authorities
XML - DigitalSignature
8
e. OK
f. Next>
g. Finish
h. OK
XML - DigitalSignature
9
6) Certificate Internet Explorer
Tools Internet Options Content
Certificates Trusted Root Certification Authorities
CAT Root CA Trusted Root Certification Authorities
7) Digital Certificate CA
Digital Certificate
New Technology Information Co.,Ltd. CAT CA
a. Digital Certificate CA NEW
TECHNOLOGY.pfx
XML - DigitalSignature
10
b. Next> Browse…
c. Digital Certificate CA
Digital Certificate Personal Information Exchange
CA Open
XML - DigitalSignature
11
d. Next>
e. Password Password: (Password
CA )
XML - DigitalSignature
12
f. Next> Place all certificates
in the following store
g. Browse… Personal
h. OK
XML - DigitalSignature
13
i. Next>
j. Finish
k. OK
8) Certificate Internet Explorer
Tools Internet Options Content
Certificates Personal NEW
TECHNOLOGY Personal Certification
XML - DigitalSignature
14
9) : Digital Certificate CA
CD, USB Token Smart Card
( Digital Certificate
Digital Certificate
Personal Internet Explorer
10) : Digital Certificate
8 Expiration Date
11) (
) User Name (
http://reg-users.dft.go.th)
: User Name
User Name
12) EDI
- EDI
Password ( ) Login
13) Login ( )
14) XML
PDF http://reg-users.dft.go.th
XML - DigitalSignature
15
XML Digital Signature (CO)
XML Digital Signature (License)
XML Digital Signature
(CO) ( XML Digital Signature (License)
)
a. Login User Name
XML Digital Signature (CO)
XML - DigitalSignature
17
e.
15) - Digital Certificate
http://reg-users.dft.go.th/tabid/ /Default.aspx#LiveContent[InstallCer]
: User Name
16) Digital Certificate
8 Trusted Root Certificate
Authorities DFTEDICA
XML - DigitalSignature
18
2
( DFTXMLUploader License) (
DFTXMLUploader CO) Windows Applications
:
1) http://edi.dft.go.th
DFTXMLUploader CO http://edi2.dft.go.th
DFTXMLUploader License
XML Digital Signature
2)
.NET Framework .NET
Framework .NET Framework
Microsoft .NET Framework Version 2.0 Redistributable
Package (x86) Download
XML - DigitalSignature
19
3) dotnetfx.exe
a. dotnetfx.exe
XML - DigitalSignature
20
b. Next>
c. I accept the terms of the License Agreement Install>
XML - DigitalSignature
21
d.
e. Finish .NET Framework 2.0
4) .NET Framework 2.0 Windows
.NET Framework 2.0 2.0.50727
C:\WINDOWS\Microsoft.NET\Framework\v (
)
5) DFTXMLUploader CO
http://edi.dft.go.th ( DFTXMLUploader_CO.zip)
DFTXMLUploader License http://edi2.dft.go.th (
DFTXMLUploader_License.zip)
XML - DigitalSignature
22
6) Unzip
Unzip
7) DFTXMLUploader CO setup.exe
DFTXMLUploader_CO_V1.0 DFTXMLUploader
License setup.exe DFTXMLUploader_License_V1.0
DFTXMLUploader CO
(
)
a. setup.exe
( DFTXMLUploader License CO
License)
b. Next> (
DFTXMLUploader Trading CO License Folder
)
XML - DigitalSignature
23
: Everyone
c. Next> (
DFTXMLUploader License CO License)
XML - DigitalSignature
24
d. Next>
( DFTXMLUploader License CO License)
e. Close
f. Shortcut to DFTClientXMLUploader (CO) Start
( DFTXMLUploader License CO
License)
8)
Uninstall Control Panel Windows
:
9)
Login Uninstall
:
Check for updates Configuration
XML - DigitalSignature
25
2
( DFTXMLUploader License)
DFTXMLUploader CO) Windows
Applications
:
1) Administrators (
)
2) Shortcut to DFTClientXMLUploader (CO)
Shortcut to DFTClientXMLUploader (License)
Login
DFTClientXMLUploader (CO)
XML - DigitalSignature
26
DFTClientXMLUploader (License)
3) ( ) :
OK
4)
XML - DigitalSignature
27
5)
6)
Login
7)
Login
XML OK
8) Browse XML File Folder Folder XML PDF
( ) ( DFTClientXMLUploader (CO))
XML - DigitalSignature
28
DFTClientXMLUploader (License)
9) XML PDF (
)
XML - DigitalSignature
29
DFTClientXMLUploader (License) DFT-
EDI2)
10) OK
XML File Folder:
)
11) DFTClientXMLUploader (License) DFT-EDI2
:
a. XML File Folder Source: XML PDF
b. Sent Folder Source: XML PDF
c. Log Folder Source: Log XML PDF
d. Error Folder Source: XML
e. Outbox Folder Source:
XML - DigitalSignature
30
f. Outbox Folder Destination:
g. Sent Folder Destination: XML PDF
12) SAVE
( )
13) OK XML, PDF
14) Configuration…
Configuration Manager
8-12
15) Exit Program
XML - DigitalSignature
31
1) XML PDF
Example
C:\Program Files\DFT\DFT Client XML Uploader (CO)\Example
C:\Program Files\DFT\DFT Client XML Uploader (License)\Example
2) XML Text Editor Notepad
<card_id>
- xxxxxxxxx
( XML CO
DFTClientXMLUploader (License) )
3) XML PDF
C:\DFT-EDI \XMLData C:\DFT-EDI2\XMLData
4) Shortcut to DFTClientXMLUploader (CO)
Shortcut to DFTClientXMLUploader (License)
Login
5) XML
( XML)
XML - DigitalSignature
32
6) XML XML File Folder:
Checkbox XML (
Checkbox ) Checkbox XML
XML
C:\DFT-EDI \XMLData
7) Send XML Schema XML
XML PDF Digital Certificate
TaxID )
Program Activity Send XML File
DFTClientXMLUploader (License) )
8) 7 Program Activity
Send XML File Message Summary (
7 )
XML - DigitalSignature
33
9) Close Program Activity Yes
10) XML XML
11) XML PDF
XML
.Sig PDF
DFTClientXMLUploader (License) )
XML - DigitalSignature
34
: Digital Signature XML
( Digital Certificate )
: Digital Signature PDF (
Digital Certificate )
: Digital Signature
XML - DigitalSignature
35
XML PDF -
Digital Certificate XML
PDF Digital Signature
: Digital Certificate
http://www.ca.tot.co.th/ http://www.thaipki.com/
12) XML PDF
XML
DFTClientXMLUploader (License)
)
13)
a.
b.
c.
d.
e.
f.
g.
14)
(
Element <site_id> XML -
XML - DigitalSignature
36
(
)
15)
16)
17) XML PDF
( XML
)
XML PDF
XML PDF
XML - DigitalSignature
37
XML
1) XML PDF
XML PDF (
)
2) XML Schema XML
Schema CO http://edi.dft.go.th
http://edi2.dft.go.th
3) XML Schema XML Schema
(Comment) Element
XML <xs:annotation>
Element <card_id> <company_name>
: Element XML Schema
4) XML XML Schema
: -
XML
XML - DigitalSignature
38
5) -
XML - XML
6) XML (Validate) XML Schema
XML Login Configuration…
Configuration Manager
( DFTClientXMLUploader (License) )
7) Test Validate XML with Schema XML
XML Path ( Browse… )
DFTClientXMLUploader (License) )
8) Validate XML XML Schema
Validate
XML - DigitalSignature
39
DFTClientXMLUploader (License) )
9) XML Valid XML XML Schema
XML XML
)
10) XML PDF
XML - DigitalSignature
40
Digital Certificate
1) Digital Certificate -
Digital Certificate
2) Digital Certificate Login
3) Digital Certificate - CA
Paperless Digital Certificate Digital Certificate
Revoke CA Certificate
TAXID - Login
4) Login
XML
XML
Digital Certificate (Certificate Not Ready)
5) Certificate
Digital Certificate (Certificate Ready)
6) - Digital Certificate
Configuration Manager
XML - DigitalSignature
41
DFTClientXMLUploader (License) )
: Digital Certificate
http://www.ca.tot.co.th/ http://www.thaipki.com/