Skip to content

Commit

Permalink
chore: add https guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVon2021 committed Sep 11, 2024
1 parent 25aa684 commit 871846b
Show file tree
Hide file tree
Showing 87 changed files with 1,588 additions and 85 deletions.
1 change: 1 addition & 0 deletions config/en/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ nav:
- "ZeroTier VPN": zerotier.md
- "Set Static IP ": static_ip.md
- "Wifi Config": wifi.md
- "Encrypt certificates": https.md
- "Function":
- "Upgrade": update.md
- "Keyboard": hid.md
Expand Down
1 change: 1 addition & 0 deletions config/zh/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ nav:
- "Zerotier VPN": zerotier.md
- "设置静态IP": static_ip.md
- "Wifi配置": wifi.md
- "加密证书": https.md
- "功能说明":
- "更新软件": update.md
- "视频&键鼠": hid.md
Expand Down
20 changes: 20 additions & 0 deletions docs/en/https.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Encryption Certificate

Starting from version 1.4.4, BlikVM supports both HTTP and HTTPS modes. By default, it starts in HTTP mode. To start in HTTPS mode, modify the following configuration:

```
sudo -s
vim /mnt/exec/release/config/app.json
```

Find the configuration below and change the protocol field from http to https, and change the port from 80 to 443. The key and cert are located in /mnt/exec/release/lib/https/, and users can replace them with their own.

```
"server": {
"protocol": "http",
"port":80,
"ssl": {
"key": "./lib/https/key.pem",
"cert": "./lib/https/cert.pem"
}
```
17 changes: 17 additions & 0 deletions docs/zh/https.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 加密证书

blikvm v1.4.4版本后,开始支持http和https两种模式, 默认以http形式启动,如果需要以https启动,需要修改以下配置:
```
sudo -s
vim /mnt/exec/release/config/app.json
```
找到下面配置内容,将protocol字段对应http改为https,port端口由80改为443,其中key和cert在 /mnt/exec/release/lib/https/ 此路径,用户可以自己进行替换。
```
"server": {
"protocol": "http",
"port":80,
"ssl": {
"key": "./lib/https/key.pem",
"cert": "./lib/https/cert.pem"
}
```
16 changes: 16 additions & 0 deletions generated/en/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@







<label class="md-nav__link" for="__nav_2">
Expand Down Expand Up @@ -537,6 +539,20 @@








<li class="md-nav__item">
<a href="/https/" class="md-nav__link">
Encrypt certificates
</a>
</li>




</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/BLIHAT-Installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/BLIKVM-CM4-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/BLIKVM-HAT-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/BLIKVM-PCIE-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/BLIKVM-PCIe-installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/BliKVM-v4-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/Datasheet-BliKVM-v4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/Dev-BliKVM-v4-Allwinner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/Expand_Filesystem/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/OLED-display/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/Product-Datasheet-BliKVM-v1-RPI-CM4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/atx-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/atx/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/dev_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/edid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/first_steps/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/flashing_os/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/hdmi-csi-i2s/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
5 changes: 5 additions & 0 deletions generated/en/hid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@
Wifi Config
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../https/">
Encrypt certificates
</a>
</li>
</ul>
</nav>
</li>
Expand Down
Loading

0 comments on commit 871846b

Please sign in to comment.