or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
How to Secure Connect to DeviceOn though X.509
This section tries to teach you how to connect DeviceOn server through x509. There are two topics we will cover through this document. The first part will show you how to get the credential files from DeviceOn server. Another part will show you how to configure WISE-Agent and make it connect DeviceOn sever through x509.
Prerequisite
Your operation system should install the following software.
Steps to Generate the Credential Files
In this session, you will learn how to create a private key file with OpenSSL command line tools. You can upload the created private key file to DeviceOn server and then download the zip file from server.
To understand this SOP, you should have the knowledge of the following topics:
Step 1: Press Win+X to open the Command Prompt.
Step 2: Navigate to the OpenSSL bin directory.
Step 3: Enter the following command to generate a private key:
Step 4: Once complete, you will find the name private_key.pem that under the directory.
Steps to Download the Credential Files from DeviceOn Server
Step 1: Sign in to the DeviceOn server portal.
Step 2: From the menu on the left, under Settings, select System.
Step 3: On the right panel, extend Certificate, select Upload and browser the private key file that you created before.

Step 4: If anything well, you should get a zip file named Certificate-xxxx-xx-xx.zip.

Step 5: Extract the zip file. There are two files in the zip. One is the client credential files named certificate.pem and another is the root certificate ca.pem.

Steps to Configure the Setting of WISE-Agent
In this session, you will learn how to configure the WISE-Agent and make it connect DeviceOn server through the credential files that generated previously.
To understand this SOP, you should have the knowledge of the following topics:
Where the agent’s configuration file is.
Adjust the agent’s settings for connecting DeviceOn server through x509.
Step 1: Open the agent_config.xml that existed in the installation folder of WISE-Agent.
Step 2: Copy the credential files to a folder outside the WISE-Agent installation path. They should contain three files. Just like the following picture

Step 3: Open agent_config.xml with your familiar editor. There are four tags which you should adjust. They are TLSType, CAFile, CertFile and KeyFles.

Step 4: Configure the TLSType, CAFile, CertFile and KeyFile as below.
Step 5: Save agent_config.xml and reconnect to server. If anything goes well, the WISE-Agent should show connected.
