SIP電話配置文件加密介紹

介紹

概述

由於批量部署具備較高便利性,越來越多客戶使用此方式部署 IP 電話。然而,在批量部署過程中,配置文件不可避免地會透過網路傳輸。配置文件中包含大量敏感資訊,例如 SIP 帳號與密碼、電話管理員密碼、網路電話簿帳號憑證等。

為了防止資訊洩露,我們可以使用加密工具對配置文件進行加密。本文檔主要包含以下兩個部分:

  1. 如何加密配置文件

  2. 如何在批量部署中使用加密配置文件

適用型號

本文檔適用於我司所有系列 IP 電話。

如何加密配置文件

在 Windows 上加密配置文件

我們可以使用 DSC 工具透過 AES256 對配置文件進行加密。工具可從以下地址下載:http://download.fanvil.com/tool/AES%20tool/encryption.7z。以下範例說明如何加密配置文件:

  1. 下載 DSC 工具後,將其解壓並把資料夾放置在 F 磁碟。

  2. DSC 工具下載配置文件
  3. 開啟 key.txt,使用預設的 64 位元金鑰,或輸入新的隨機 64 位元金鑰,然後儲存文件。

  4. 從電話的 Web 介面下載配置文件,修改必要資訊,將文件重新命名為 config.txt,並放入 F 磁碟的 encryption 目錄中。

  5. 從電話 Web 介面下載配置文件
  6. 按下 Win + R,輸入 cmd 開啟 DOS 命令提示字元,然後使用下圖所示命令進入 encryption 目錄。

  7. CMD 執行 DOS 命令
  8. 使用以下命令進行加密或解密:

    加密命令:
           dsc.exe key.txt e config.txt encrypted.txt
           - dsc.exe:工具執行檔
           - key.txt:金鑰文件
           - e:加密標識
           - config.txt:來源配置文件
           - encrypted.txt:輸出的加密文件,可自訂名稱

    解密命令:
           dsc.exe key.txt d encrypted.txt original.txt
           - d:解密標識
           - encrypted.txt:加密來源文件
           - original.txt:輸出的解密文件,可自訂名稱

  9. 解密前後文件顯示介面

在 Linux 上加密配置文件

  1. 從此連結下載原始碼:https://1drv.ms/u/s!AhLXW_VNOC9LgR6TiW5931ydvEP5

  2. 在 Linux 上解壓下載的套件,進入目錄,並執行編譯命令以產生 DSC 工具:    
    gcc dsc.c rijndael-alg-fst.c rijndael-api-fst.c -o dsc

  3. 下載配置文件並解密
  4. 執行後,Linux 中將產生 dsc 工具,如下圖所示。

  5. Linux 中產生的 DSC 工具
  6. 將需要加密或解密的文件放置在與 DSC 工具相同的目錄中。

  7. 將文件放入 DSC 目錄
  8. 加密命令範例:
           dsc key.txt e config.txt encryption.enc
           - dsc:工具名稱
           - key.txt:金鑰文件
           - e:加密
           - config.txt:待加密文件
           - encryption.enc:加密輸出文件

  9. 解密命令範例:
           dsc key.txt d encrypted.txt config_after.txt
           - d:解密
           - encrypted.txt:待解密文件
           - config_after.txt:解密輸出文件

如何在批量部署中使用加密配置文件

若要使用加密配置文件部署電話,必須在電話的 Web 介面中配置加密金鑰,如下圖所示:

在電話 Web 介面配置加密金鑰

最後,將第 2 節產生的加密配置文件放置到 provisioning 伺服器上,並在 IP 電話上配置正確的伺服器設定。詳細資訊請參考文檔 Auto Provisioning Mechanism, Environment Setup, and Configuration File Guide

目錄
客服 電話
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .